Title: Problem with chmod, cache dir issue.
Last modified: August 20, 2016

---

# Problem with chmod, cache dir issue.

 *  [szaqal21](https://wordpress.org/support/users/szaqal21/)
 * (@szaqal21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problem-with-chmod-cache-dir-issue/)
 * After trying to activate the plugin I got chmod 755 warn the path in warn was“
   plugins/db-cache-reloaded-fix/cache”. I was able to activate the plugin after
   setting wp-content chmod to 777 but after activating the plugin i saw that cache
   dir was created in wp-content. There must be something wrong with the cache dir
   path.

Viewing 1 replies (of 1 total)

 *  Thread Starter [szaqal21](https://wordpress.org/support/users/szaqal21/)
 * (@szaqal21)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/problem-with-chmod-cache-dir-issue/#post-3249939)
 * I’ve solved my problem. It was caused by owner of the wp-content (chmod 755) 
   dir and plugins dir. DBCR couldn’t create cache dir in plugin dir (chmod 755)
   and couldn’t copy files to the wp-content dir because on my web server PHP is
   running as “www-data” so there was dir owner mismath.
 * To solve this problem **I’ve set temporarily chmod to wp-content to 777** and**
   set chmod 777 plugins/db-cache-reloaded-fix** next activated plugin and set back
   chmod 755 to wp-content and plugin dir and asked my admin to set the owner of
   the cache dir to “www-data” (the one which PHP runs as).
 * I think that taking ownership of wp-content dir by “www-data” user (for apache)
   would also do the trick but I’ve not tested it.
 * It workd for me. Hope it helps someone else.

Viewing 1 replies (of 1 total)

The topic ‘Problem with chmod, cache dir issue.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/db-cache-reloaded-fix.svg)
 * [DB Cache Reloaded Fix](https://wordpress.org/plugins/db-cache-reloaded-fix/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/db-cache-reloaded-fix/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/db-cache-reloaded-fix/)
 * [Active Topics](https://wordpress.org/support/plugin/db-cache-reloaded-fix/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/db-cache-reloaded-fix/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/db-cache-reloaded-fix/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [szaqal21](https://wordpress.org/support/users/szaqal21/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/problem-with-chmod-cache-dir-issue/#post-3249939)
 * Status: not resolved