More advanced information

Spider-and-Web

Directories

Once you have your web site running, you soon find that the number of files in it begins to get unmanagable. The answer to this problem is to group "files" (which Mac users would call documents) into "directories" (which Mac users would call folders). This can be easily done, but one must be careful to keep the appropriate links. One must refer to a file within a directory by a path name leading from one page to the next. This is not as easy on the Alpha computer as it is on the Mac, unless you use a program such as Adobe PageMill.

Directory

permissions

Then there is another catch. The files must have access 644, and the directories must have access 711. Once you have uploaded your files and directories, run
chmod 644 <filename>
for each file not already assigned this access permission. Similarly, each directory must have run for it the command
chmod 711 <dirname>

You can tell if the proper codes have been assigned by running for each directory the command
ls -l
Then you will see in the left column of each listing a code which means something having to do with access permissions. For files on which 644 has been correctly assigned, the code looks like
-rw-r--r--
For directories on which 711 has been correctly assigned, the code looks like
drwx--x--x
If these access codes are not correctly assigned, you and others may not be able to access your web pages. 

Get Fetch!

A shortcut which relieve you from all these permission settings is Fetch 3.0.1, a file-transfer program developed at Dartmouth College. 
 

I want to understand these UNIX commands.

I need professional help.

OK, now I've really had enough. Return me to Dr. Boyer's home page