Maintaining your directory

The directory you will be putting all of your web files into is called
/web/classes/ece480/goodman/team#

Where # is the number of your design team (01, ... 15). The only people allowed to edit files in this directory are the owner, and the group if the permissions are set correctly.
(If you don't remember team number, go to the main web page and you can find a link to your space there... or on the course schedule page, etc.)

If you type

ls -la
(in unix) you will see who owns all the files in the directory, and what permissions you have. The general format is:
drwxrwxrwx
The first character tells you if it's a directory (d), linked file (l), or otherwise (-). The next three characters describe the owner's permissions. Read (r), write (w), and execute (x). The next three describe the permissions for the group, and the last three are for the world. If you create the file, you are considered the owner, and by default have read and write permission. You alone have the ability to allow the group or world access or change your file.

You will need to change the 'group' of the file so that other people in your group can edit it.

Here is the command (in UNIX):

chgrp team# <filename>
Where # is the number of your group.
You will also need to set the permissions for group access (otherwise it will only be read/writable by you as the owner). Here is the command:
chmod ### <file or dir name> 
### should be:
770 for team# group access for a dir
660 file
775 public read access (necessary for web material) dir
664 file

Thus, you can ftp your files into your directory, and then from a telnet window, set the group and permissions appropriately.

NOTE: If you try to edit a file in your group directory and you are allowed to read but not allowed to write it, it may be that permissions are not set properly. Additionally, you may need to use following command in order to "log in" to the group:
newgrp team#
(This usually isn't necessary, but it has been needed in some cases.)

You can check who are members of a Unix group as follows. First, add the following line to the ".cshrc" file in your Unix directory:

alias nisg 'niscat group.org_dir.egr | grep \!*'

Then, type the command "source .cshrc" or restart your shell session.
To use the group command, type "nisg ", for example, "nisg team01".