Setting File and Directory Permissions with Linux Hosting Accounts
NOTE: Before you start, click here to see which version of the FTP File Manager is in your Control Panel. This help article applies to the New FTP File Manager. If you are using the Classic FTP File Manager, see Setting Directory Permissions with Linux Hosting Accounts
You can set different permissions for each of the files and directories in your Linux Shared Hosting account. In this way, you can control who has access to your files and what actions they can perform on files within those directories. For more information, see Which permissions can my Linux hosting account use?
To Set Basic File or Directory Permissions on Your Linux Hosting Account
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- From the Tools section, click File Manager.
- Select the directory or directories for which you'd like to set permissions, and then click Privacy.
- Select the permissions for the selected files.
- Web Visible:
- Allows the files to be seen from the web.
- Executable:
- Files are allowed to be executed and viewed by the public.
- Click OK.
To Set Advanced File or Directory Permissions on Your Linux Hosting Account
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- From the Tools section, click File Manager.
- Select the directory or directories for which you'd like to set permissions, and then click Privacy.
- Click Advanced permissions.
- Select both the Web user permissions and the Owner permissions for the selected files.
- Read:
- Allows anonymous users to view the contents of the selected directory.
- Write:
- Allows users to write to the selected directory.
- Execute (Directory):
- Allows users to execute scripts out of the selected directory.
- Click OK.