How To: Fix an InterWorx Permissions Error

It is possible to have incorrect permissions on InterWorx installation and SiteWorx accounts. InterWorx includes two permission-fix tools to help facilitate resolving that issue.

To Fix InterWorx-Level Permissions

Note

This command does a full chmod/chown correction of the InterWorx install directory. This command should never be interrupted. Run time can vary based on number of permissions that need to be verified.

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. Run the following:

    ~iworx/bin/cvspermsfix.pex
    

To Fix SiteWorx-Level Permissions

For a Specific SiteWorx Account

Note

This command does a full chmod/chown correction of the SiteWorx account var directory. This command should not be interrupted. Run time can vary based on number of permissions that need to be verified.

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. 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

Note

This command does a full chmod/chown correction of the var directories of all SiteWorx accounts on the server. This command should not be interrupted. Run time can vary based on number of permissions that need to be verified.

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. Run the following:

    ~iworx/bin/listaccounts.pex --domain | xargs -n1 ~iworx/bin/varpermsfix.pex --siteworx