University of Iowa College of Liberal Arts & Sciences

  Computer Science | Mathematics | Statistics and Actuarial Science | Applied Mathematical and Computational Sciences | Informatics

Mathematical Sciences Computer Support Group

Managing Web Page Permissions


Understanding Linux Permissions

The Mathematical Sciences web server runs on the Linux operating system. Before going further, read Viewing Linux File and Directory Permissions and make sure that you understand the information on that page.

Permissions and Security

Permissions on web files and directories have security issues. Before you change permissions on a web file or directory, read Web Permissions and Security!

Minimal Permissions for Web Directories and Files

At a minimum, your web directory and all subdirectories of your web directory that you want to be accessible on the web, must have execute permission for other.

Any file that you would like to be accessible via the Web must be located in your web directory or some directory under your web directory, and the file must have at least read permission for other.

Enabling Web Features with Permissions

Fixing Permissions

If you suspect you have the wrong permissions on some of your Web files and directories, you can use the fixpub command to fix all of them. To use fixpub, just execute the command:

     fixpub

Running fixpub this way will break directory autoindexing. If you want to use directory autoindexing, then you must run fixpub with the -o command-line argument:

     fixpub -o

You can also use the chmod command to change permissions on files and directories. For information about chmod, execute man chmod.