|
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:
- establish
a connection to the machine where your web pages reside
- 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.

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
|
-
|
-
|
|
-
|
-
|
-
|
|
 |
|
Directory
Permissions
|
|
Owner
|
Group
|
Other
|
|
read
|
-
|
-
|
|
write
|
-
|
-
|
|
execute
|
execute
|
execute
|
|
 |
| Recommended
Permissions for group-maintained web sites |
|
File
Permissions
|
|
Owner
|
Group
|
Other
|
|
read
|
read
|
read
|
|
write
|
write
|
-
|
|
-
|
-
|
-
|
|

|
|
Directory
Permissions
|
|
|
Group
|
Other
|
|
read
|
read
|
-
|
|
write
|
write
|
-
|
|
execute
|
execute
|
execute
|
|
 |
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.
|