These classnotes are depreciated. As of 2005, I no longer teach the classes. Notes will remain online for legacy purposes

UNIX01/Create A Simple Tree

Classnotes | UNIX01 | RecentChanges | Preferences

Difference (from prior major revision) (no other diffs)

Changed: 12c12
drwxrwx--- root root /home/perweb/admin/.websettings
drwxrwx--- root root /home/perweb/admin/.private

Changed: 17c17
drwxrwx--- root users /home/perweb/public/.private
drwxrwx--- root users /home/perweb/public/.private

The company you are working for wants you to set up a way for the users of your company's UNIX server to have personal home pages. Basically, you have a user "student", which must have a writable public homepage directory, a directory for private things, and a directory they cannot touch (but which the web-server can) that contains web-settings. You also need similar structures for the administrators on the machine as well as a general one for general users.

Create the following directory tree with the following permissions and ownerships:

 drwxr-xr-x  root  users  /home/perweb

 drwxrwxr-x root student  /home/perweb/student
 drwx---r-x root student  /home/perweb/student/.websettings
 drwxrwx--- root student  /home/perweb/student/.private
 drwxrwxr-x root root     /home/perweb/admin
 drwx---r-x root root     /home/perweb/admin/.websettings
 drwxrwx--- root root     /home/perweb/admin/.private

 drwxrwxr-x root users    /home/perweb/public
 drwxr-xr-x root users    /home/perweb/public/readonly
 drwx---r-x root users    /home/perweb/public/.websettings
 drwxrwx--- root users    /home/perweb/public/.private


Classnotes | UNIX01 | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited July 19, 2003 5:12 pm (diff)
Search:
(C) Copyright 2003 Samuel Hart
Creative Commons License
This work is licensed under a Creative Commons License.