Web|Loyola University Chicago

Web

searchform
This siteLUC.edu

Set File Permissions

Orion Directories




Orion Directories

Web pages must be in the proper directory to become available to browsers.

  • Departmental Web Pages are located in the Orion directory structure after /usr/local/www/.
    Example: the Chemistry department is:/usr/local/www/chemistry/.

    To move to the proper directory use the cd command as in: cd /usr/local/www/chemistry/.

  • Personal Web Pages should be in a directory named ".web". To create this directory, use the following command at the Orion prompt:
    mkdir .web

    After creating the .web subdirectory, you can move into it with the command cd .web. Your Web pages will be located at orion:/u3/yourID/.web; they will be displayed on the Web as http://homepages.luc.edu/~yourID/. It's always recommended to name your main page "index.html".

 


Naming Files and Directories

Files and directories should not contain any spaces, special characters or capital letters. The underscore (_) or the hyphen (-) can be used to maintain word separation if needed.

 


Setting Directory Rights

Your subdirectory must provide execute rights to outside users. For departmental web pages, the subdirectory created for you will already have those rights. If you create other subdirectories beneath that, you will need to set the rights on those subdirectories.

Setting directory rights using Filezilla:

  • In the right pane (the remote side) right click on the directory name
  • Choose File Attributes
  • Either choose the appropriate check boxes or enter 755 in the space near the bottom.

Setting directory rights using PuTTY

For personal web pages you will need to modify both your home directory and your .web subdirectory. If you're using PuTTY, use the following two commands (from your home directory):

chmod 755 .
chmod 755 .web

An explanation of the numbers 755:

  • 7 provides you, the owner, write, read and execute permission
  • 5 provides your default group with read and execute permission
  • 5 provides the browser with read and execute permission

To archive a directory so its contents are not indexed by the Loyola search or viewable to the public, set directory rights to 700.

 


Setting File Rights

Web files need to provide read access to others.

Setting File Rights using Filezilla

  • In the right pane, right click on the file name
  • Choose File Attributes
  • Either choose the appropriate check boxes or enter 644 in the space near the bottom.

Setting File Rights using PuTTY, use the following command:

chmod 644 filename

Example: chmod 644 index.html

An explanation of the numbers 644:

  • 6 provides you, the owner, write and read permission
  • 4 provides your default group read permission
  • 4 provides the browser read permission

To archive a file so it is not indexed by the Loyola search or viewable to the public, set file rights to 600.


Multiple Authors

Access can be provided for more than one person to write to your pages if editing responsibilities will be distributed among others in your department. Please contact webmaster@luc.edu to request that a "group" be set up. Please include the full names of each individual for whom you are requesting access.

See Basic Unix Commands for more information about working on the Orion server.



Edit this page