Navigation Map

Help Desk Home

Homebuilder

Network Operations Center

Uploading
References
Trouble Shooting
Special Characters

Counters
Forms
Password Control
RealAudio
Imagemaps
Mime Types
Web Stats

CGI Basics
Custom CGI
File Permissions
SSI's
Java!
MySQL
PHP(3)
Custom Errors
Virtual Domain FAQ
Secure Server Info

IO Web Helpdesk - Changing File Permissions


Here's how to chmod a file in...

Windows: when in WS-FTP, right click on the mouse button; go to commands, then go to site. Type chmod xxx filename in the line provided, where xxx is a three digit number.

Macintosh: when in Fetch, go to the Remote menu; go to Send FTP Commands, then type chmod xxx filename in the line provided, where xxx is a three digit number.

Below is a table explaining file permissions:

Magic NumberBinaryRepresentationPermissions
0000---No permission
1001--xexecute
2010-w-write
3011-wxwrite, execute
4100r--read
5101r-xread, execute
6110rw-read, write
7111rwxread, write, execute

chmod on UNIX interprets the first number for owner (yourself), second number for group, and the third for others (everyone else). For example chmod 766 filename will change file permission to read, write, execute for owner and read, write for group, and others.

More examples

chmodPermissionsMeaning
755rwxr-xr-xread, write, and execute for owner; read, execute for everyone
644rw-r--r--read, write for owner; read for everyone
666rw-rw-rw-read, write for everyone


Last revised November 19, 1999