Manage File Permissions in InterWorx
File permissions define access to files and folders on a server or website. Interworx provides permissions functionality within the SiteWorx File Manager, allowing you to adjust permissions without using the command line.
File Permissions determines the type of action that can be taken on a file or folder within a server or website. Interworx has file permissions functionality within the File Manager, making it so you don’t have to use the command line.
Tip
Learn more about the different permissions that can be granted in our article: File Permissions.
Fixing Incorrect Permissions
It is also possible to have incorrect permissions on InterWorx installation and SiteWorx accounts. InterWorx includes two permission-fix tools to help facilitate resolving that issue.
Warning
The following sections describe commands that will overwrite the permissions of important folders. These commands should never be interrupted. Run time can vary based on the number of permissions that need to be verified.
Fix NodeWorx-Level Permissions
- Log in to the server at the CLI as root via SSH. For help using SSH, see Logging into Your Server via Secure Shell (SSH).
- Run the following:
~iworx/bin/cvspermsfix.pex
Fix SiteWorx-Level Permissions
For a Specific SiteWorx Account
- Log in to the server at the CLI as root via SSH. For help using SSH, see Logging into Your Server via Secure Shell (SSH).
- Run the following, replacing {master domain} with the master domain on the Siteworx Account:
~iworx/bin/varpermsfix.pex --siteworx {master domain}
For All SiteWorx Accounts on the Server
- Log in to the server at the CLI as root via SSH. For help using SSH, see Logging into Your Server via Secure Shell (SSH).
- Run the following:
~iworx/bin/listaccounts.pex --domain | xargs -n1 ~iworx/bin/varpermsfix.pex --siteworx