|
||||||||||||||||||||||||||||||||||||||||||
Checking protection codes for your UD web page
1. Use the UNIX "cd" command to change to your web directory.
The first column indicates the protection setting for each item. The second, third and fourth characters of the protection setting refer to your access privileges; the fifth, sixth and seventh characters refer to the access privileges of people in a common group or project; and the last three characters of the protection setting refer to others' access privileges. 3. The current directory is represented by a single period. If your current directory's protection settings are different from "drwxr-xr-x" or "drwx---r-x", make it executable and readable by others. At the UNIX % prompt, type chmod o+rX .and press the ENTER key. Note that a space and a period (.) follow the "o+rX" characters. 4. Your home directory is represented by two periods. Its protection setting ordinarily should be "drwx--x--x," "drwxr-x--x," "drwx-----x" or "drwx---r-x." To make your home directory executable by others, at the UNIX % prompt, type chmod o+x ..and press the ENTER key. Note that a space and two periods (..) follow the "o+x" characters. 5. Any file that you want the world to see should have a protection setting of "-rw-r--r--", or "-rw---r--". To make your "filename.html" file readable by others, at the UNIX prompt, type chmod o+r,g-w filename.htmland press the ENTER key. If other files need to have their protections reset, replace "filename.html" with those filenames or use wildcards: chmod o+r,g-w *.html |