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:
|400||r--------||Will not let you accidentally erase|
|444||r--r--r--||Allows everyone read|
|600||rw-------||No one else can read or see files|
|700||rwx------||Programs and directories|
|750||rwxr-x---||Programs and directories|
|755||rwxr-xr-x||Programs and directories|
|777||rwxrwxrwx||Programs 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. Select or right-click the file.
- 2. Select the option CHMOD or Set permissions, also available from the menu option.
- Once you have selected the appropriate menu option, a similar panel appears of the following example from FileZilla for Windows:
- 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.