|
Home >
Help Files >
Web > Course/Group Webpage
Course/Group Webpage
To modify course or group webpages, you need to make sure you have the
right permissions. For example, if you're the TA for ME151, you are
probably in the me151grp.
- Send an email to webmaster@me.berkeley.edu (for ME dept) or
webmaster@mse.berkeley.edu (for MSE dept). List the full URL you
want to be able to edit.
Wait a day or two for us to set things up.
If you want to upload the files, see Uploading
instructions instead.
- Ssh to kepler.berkeley.edu
You can Download the latest SSH here.
- Cd to the class homepage.
The document root for ME web site is /home/httpd/htdocs/
The document root for MSE web site is /home/httpd/htdocs-mse/
Ex. cd /home/httpd/htdocs/ME151
- See what group you belong to:
user@kepler /home/httpd/htdocs/ME151 > id
uid=5000(user) gid=2023(home3group) groups=2055(me151grp)
user@kepler /home/httpd/htdocs/ME151 >
This lists your username, and all the groups you belong to. You can
only be in one group at a time, even though you can belong to several
groups. The first group listed is the current group you're in.
- See if you have permission to modify the file
user@kepler /home/httpd/htdocs/ME151 > ls -la
-rw-rw-r-- 2 owner me151grp 4096 Aug 15 1998 index.html
-rw-rw-r-- 2 owner me151grp 4096 Aug 15 1998 picture.gif
The left-most column lists the permissions for the owner, the group,
and everyone else. Make sure the group (me151grp) have permission to
read (r) and write (w) to the file.
- Change to the right group.
user@kepler /home/httpd/htdocs > newgrp me151grp
user@kepler /home/httpd/htdocs > id
uid=5000(user) groups=2055(me151grp) gid=2023(home3group)
- Make sure when you change the files, you let others in your group modify it.
user@kepler /home/httpd/htdocs > umask 002
- Modify the files using pico, emacs, or vi.
|