How to Reset the Permissions of Your ApplicationDecember 11, 2015

 

In this KB

  • Resetting Application Permissions when working with teams

 

With our Team feature, multiple users can collaborate to maintain a given application. Although we always advise setting permissions as 775 (folders) and 664 (files) to avoid any issues, there can be situations where wrong file permissions occur (uploading files or decompressing a zip with wrong permissions …). This can result in an account owner not being able to update files and folders for his/her own applications.

Symptoms of wrong permissions are typically variations of a Permission Denied message:

Error: rm /applications/ptoghijpqg/public_html/wp-content/advanced-cache.php: permission denied

Upload of file was successful but error occurred when setting permissions and/or timestamp.

Could not copy file: wordpress/wp-settings.php

/applications/hdjwudkwk/wp-content/themes/new-theme – Unable to create server folder. An error occurred. Please contact your administrator.

Essentially, if you see any of these errors or anything that looks like these errors (those containing words like forbidden, denied, or failed), then it is probably safe to assume that you need to reset permissions.

Account owners (or team members with Full Console privileges) can very easily reset the permissions of any application by following these simple steps.

Step 1: Go to Application Management

Log into the Cloudways Platform with your credentials. Click on Applications in the top menu bar and select your target application from the list.

Application Management

 

Step 2: Reset Permissions

  1. Under the Application Management area,  click on the Applications Settings section.
  2. Then click on the Reset button under the Reset Permissions option. 

Reset Permissions

Clicking the Reset button will:

  • Make sure that permissions are properly set to 775 (folders) and 664 (files) for all folders and files of the application.
  • Change the ownership of all the files and folders of the application to the Master user.

This will ensure that the account owner (via Master credentials) and all the team members (via Application credentials) have proper access to all application files and folders.

Have Questions? You can start a discussion on Community Forum

One Response

  1. Michael Lo says:

    Option 2 images are out of date – should be referring to the Master Credentials section of the Server Management tab rather than the Application Management tab

Still need help? Our support team is waiting to help you. Ask them now