Web Development Support
    General Info   Cool Tools
    Getting Started   Troubleshooting
    Design & Promotion   Feedback
 

Search this site:


view site map

Changing File Permissions Using WS_FTP

The following information will help you to use WS_FTP to change file permissions. If you have not already done so, you may want to review the document Unix File Permissions.

The steps for correcting permissions errors are as follows:

  1. establish a connection to the machine where your web pages reside
  2. use WS_FTP's chmod command for any files or directories which need to be changed

Scenario: User mst3k is getting a permissions error when trying to view his web site at http://www.people.virginia.edu/~mst3k.

After logging into blue.unix.virginia.edu with WS_FTP, mst3k views the contents of his public_html directory. On the right-hand side of the screen, mst3k clicks once on the file home.html, and then right-clicks on the file home.html and chooses the option chmod(UNIX). He then adds the Read permission to Other and clicks OK.

WS_FTP's chmod command

Provided that the permissions of the parent directories are correct, the page should now be viewable on the web.

The following charts outline the recommended permission settings for the files and directories in single-user and group-maintained web sites. Please note that for group-maintained web sites, we strongly encourage you to use Unix commands so that you may ensure you have appropriate group ownership for your files. Only the owner of a file may change the group ownership or permissions.

Recommended Permissions for single-user web sites
File Permissions
Owner
Group
Other
read
read
read
write
-
-
-
-
-

 

Single-user file permissions in WS_FTP
Directory Permissions
Owner
Group
Other
read
-
-
write
-
-
execute
execute
execute
Single-user directory permissions in WS_FTP

 

Recommended Permissions for group-maintained web sites
File Permissions
Owner
Group
Other
read
read
read
write
write
-
-
-
-

 

Group-maintained file permissions in WS_FTP

Directory Permissions

Owner

Group
Other
read
read
-
write
write
-
execute
execute
execute
Group-maintained directory permissions in WS_FTP

Web Development Support | General Info | Getting Started | Design & Promotion
Cool Tools | Troubleshooting | Feedback

If you need further assistance with Web applications or questions, send e-mail to web-consult@virginia.edu or call the ITC Help Desk at 924-3731.

 

© 2008 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.