Title: Permissions needed for Cache folder
Last modified: August 30, 2016

---

# Permissions needed for Cache folder

 *  Resolved [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permissions-needed-for-cache-folder/)
 * When I provide the NGINX Cache folder in, the plugin says Path is not writable.
 * What permissions should be applied to that folder?
 * [https://wordpress.org/plugins/nginx-cache-optimizer/](https://wordpress.org/plugins/nginx-cache-optimizer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permissions-needed-for-cache-folder/#post-6251587)
 * Seen in “Requirements”
 * “Writable permissions for the user executing PHP scripts on the NGINX cache folder”
 *  Thread Starter [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permissions-needed-for-cache-folder/#post-6251607)
 * I give 777 permission on NGINX cache folder, just for testing.
    The user that
   creates that folder is “nginx”, which is not the same user with whith which the
   Plugin will run.
 * The Plugin cannot delete the NGINX cache as the permissions of the folders created
   INSIDE of NGINX cache folder has restrictive permissions, which deny the NGINX
   Cache Optimizer from deleting the folders and files.
 * How is this supposed to work if all folders are generated by NGINX with Nginx
   user with 700 permissions, that Optimizer cannot read/write with?
 * How do I move forward with this?
 *  Thread Starter [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permissions-needed-for-cache-folder/#post-6251615)
 * Found the NGINX User setting. Setting it to the same user as PHP user works fine.
 * nginx.conf
    user phpuser;

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Permissions needed for Cache folder’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nginx-cache-optimizer_3b6a91.svg)
 * [NGINX Cache Optimizer](https://wordpress.org/plugins/nginx-cache-optimizer/)
 * [Support Threads](https://wordpress.org/support/plugin/nginx-cache-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/nginx-cache-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nginx-cache-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nginx-cache-optimizer/reviews/)

 * 3 replies
 * 1 participant
 * Last reply from: [Botrax](https://wordpress.org/support/users/botrax/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/permissions-needed-for-cache-folder/#post-6251615)
 * Status: resolved