| Question: | Our official University organization has a directory on the www.udel.edu web server. Our group is currently working on a new version. We would like this new version to only be available to the members of our group. How should we set things up so our draft version is available over the Web to only members of our group to review and edit. |
| Answer: |
The easiest way to do want you want is to make a separate
directory in your official www.udel.edu server directory.
There are two ways you or any member of your group can potentially get to the
pages in this directory (1) over the web or (2) from a copland account.
For example, if you group directory name is ourGroup and your
private directory name is draft Then
you can get to it using any web browser and
the
Once the directory is created, using the mkdir Unix command, you must do several things to safely restrict it to just your group.
|
index.html is the special name used for the
main html file which your members will see when they enter your private
web page. As the name implies, this usually has links to the
various parts of your web page. It is probably a good idea
to give every member of your group write access to this file.
This will give them the ablility to add links to their parts of
the total web page as they are completed and tested.
Here are the commands to set up the index.html.
Any member of the working group can issue these commands from inside
the ourGroup directory. (Use the cd command to
change to this directory if you are not already in it.)
index.html
index.html
file to allow "all read" and "group write".
| New Files |
This is all you need to get going. One member of your group should
start by putting something interesting in the index.html
file. This can point to graphics and other html files, which need
to be added to the directory. This file may also contain a frameset
if you are using frames.
If you have one set of members in charge of the graphics, they can create
the graphics anyplace they like, and then use ftp to
transfer the graphics files to this location.
The graphics and new html files should be tested before they are added to
the index.html file.
You can test them by typing the full location name in the Netscape
"location" window. Once they are tested they can be added to
the common Whatever method you use to put files in the directory, check to make sure your files are readable to all and writeable to the group This way any member of your group can down load them using Netscape, modify them and publish the modified pages. No other user can do this, in fact, they can not even see the files if they try to load them. If any file is incorrectly permitted then the owner of the file can issue the command chmod a+r,g+w file name to correct the permission modes. This command just needs to be done on new files, the netscape publishing does not change the permision modes on existing files. |
|---|---|
| Changing Files | With this set up each user can create, rename and modify any file in the group directory. It is easy to destroy some other member's work, so be careful. If two members simultaneously download the same file to their PC for editing then one will be surprised to see their modifications lost when the older modified version is loaded by the other member. This should not be too much of a problem if all changes to common files are are kept short, and longer changes are put in separate files that only one member is working on. In the worst case, you may need to make your changes again. |
| New directories | If you want to add a subdirectory to organize your information even further. This is done with the Unix mkdir command just as above. The directories should be executeable and setgroup bit set. The Unix command for correct directory permission modes is: chmod a+rx,g+ws directory name |