Views:

Web hosting on a UNIX platform—every single file and folder stored has a set of permissions associated with it. Those permissions determine who can work with the file.

The most common permissions include:

ModePermissionExplanation
400r--------Will not let you accidentally erase
444r--r--r--Allows everyone read
600rw-------No one else can read or see files
644rw-r--r--Files
664rw-rw-r--Files
666rw-rw-rw-Files
700rwx------Programs and directories
750rwxr-x---Programs and directories
755rwxr-xr-xPrograms and directories
777rwxrwxrwxPrograms and directories

You can also set file and directory permissions through your FTP software.

Setting Permissions with FTP

Your FTP program most likely sets permissions on your files. Here is how you set your own permissions:

  1. 1. Select or right-click the file.
  2. 2. Select the option CHMOD or Set permissions, also available from the menu option.
  3. Once you have selected the appropriate menu option, a similar panel appears of the following example from FileZilla for Windows:
  4. For additional information and to determine if your FTP software can be used to change file or directory permissions, please reference the help section of your FTP Software or their website.