Great Templates

FEATURED WEB TEMPLATES

Amazon Books

Learn PHP

PHP Training
Zend Cert Training Zend Certified Engineer Zend PHP Pro

FTP File Transfer Protocol: How Do I Change UNIX File Permissions

Changing UNIX file permissions.

With the CHMOD command you can use WS_FTP Pro to change your remote files\' permissions (if you are uploading to a UNIX host, and provided you have file-access permission).

1. Highlight the file.
2. Right-click the file, scroll down to FTP Commands then select CHMOD (unix) from the pop-out menu.
3. Select any of the options and click the OK button.

This change to the file\'s permissions will occur on the remote machine, not on your PC.

Note that the CHMOD function does not show you the current permissions on a selected file. It actually shows you (depending on the version of WS_FTP Pro you\'re using) the permission settings you last used. This is by design.

The proper permission settings for your purpose depend on exactly what you want to do and who normally can read files by default. Please contact your server\'s administrator for an answer to this.

See also: WS_FTP - Chmod and Permission Strings

400 r-------- files (won\'t let you accidentally erase) 444 r--r--r-- files (lets everyone read 600 rw------- files (no one else can read or see files 644 rw-r--r-- files (getting the idea?) 664 rw-rw-r-- files 666 rw-rw-rw- files, (note: this could allow havoc of satanic proportions) 700 rwx------ programs and directories 750 rwxr-x--- programs and directories 755 rwxr-xr-x programs and directories 777 rwxrwxrwx programs and directories

 


Learn PHP | Zend Certified Engineer | Zend PHP Pro | PHP Web Apps | Web Hosting Service | Low Cost Domain Names | Great Templates | Great Books | Testimonials | Tech.Articles | TOS | AUS | Home | Linux Apache MySQL PHP