All Collections
Security Matters
How do I reset file permissions?
How do I reset file permissions?

Via support ticket, from your Dashboard, or WordPress menu.

A
Written by Admin account
Updated over a week ago

Incorrect filesystem permissions usually generate strange errors, with the words "forbidden" or "denied" sprayed all over the access logs. This can be due to either plugin/theme installations that messed with the permissions, or due to some SFTP operation. 

Resetting file permissions automatically fixes this problem. You can either open a support request, or reset them yourself via your Dashboard or WordPress administration menu. After resetting permissions:

  • All directories are set to 755.

  • All PHP files are set to 640.

  • All other files, such as static assets, are set to 644.

Reset file permissions using the Pressidium Dashboard

  1. Select the Websites menu option from the Dashboard sidebar. 

  2. Click on your website's name to go to the website overview.

  3. Select the environment you want to reset file permissions by clicking on the respective tab Production or Staging.

  4. Click on Staging operations or Production operations button (depending on the environment) on the navigation bar to display the related drop-down menu.

  5. Click the Reset file permissions menu item.

Reset file permissions via WordPress 

  1. Click Pressidium from the WordPress sidebar menu. 

  2. Click the Fix File Permissions menu item, then the Reset File Permissions button

If you need to reset file permissions for your staging site, follow the same procedure in the staging environment.

Did this answer your question?