Title: Cannot write cache folder Error
Last modified: August 22, 2016

---

# Cannot write cache folder Error

 *  [Hercal](https://wordpress.org/support/users/hercal/)
 * (@hercal)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/)
 * Hey ,
    I setup socute theme on my local host and everything works fine . but 
   once i try to create a child theme and active it , i see this error
 * ” Cannot write cache folder. You may try setting the folder cache folder permission
   to 755 or 777 “
 * I changed the permission of cache folder to 777 but still the same problem , 
   what should i do ?

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639019)
 * Does this occur with a default theme’s child?
 *  [Ben Butterfield](https://wordpress.org/support/users/benbutterfield/)
 * (@benbutterfield)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639031)
 * If it’s on localhost, try chmodding the whole WordPress directory to 0777. The
   cache folder may not be where you think it is. If it’s public facing, don’t do
   this.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639035)
 * I am sorry but this is very bad advice. If you do so, then upload, a host _may_
   allow your permissions. Why would anyone today ask for 777?
 *  [Ben Butterfield](https://wordpress.org/support/users/benbutterfield/)
 * (@benbutterfield)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639040)
 * I don’t think file permissions are transferred over FTP (might be wrong). And
   this person is running a localhost, which isn’t likely to be public facing (notice
   my warning on that). So, see if you can get it working and then start locking
   down permissions. In my opinion, it’s easier to do things that way round.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639045)
 * Ben, please now provide factual links from this well developed community. I have:
 * [http://codex.wordpress.org/Hardening_WordPress#File_Permissions](http://codex.wordpress.org/Hardening_WordPress#File_Permissions)
 * Please review all re [Hardening WordPress](http://codex.wordpress.org/Hardening_WordPress).
 *  [Ben Butterfield](https://wordpress.org/support/users/benbutterfield/)
 * (@benbutterfield)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639046)
 * For sure! Doesn’t really make any difference on a non public facing localhost
   though, which is why I suggested it as a possible fix for the problem so the 
   OP can find the root of the problem.
 * I take your point though – should have provided instructions for resetting the
   permissions. Please forgive me – I’m not up on the etiquette of this forum.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639047)
 * Please never EVER use 777. There is no reason to other than really really bad
   advice;;;EOD
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639057)
 * [@hercal](https://wordpress.org/support/users/hercal/)
 * Trying 0777 permissions to troubleshoot on your localhost setup is just fine 
   when you’re not running a live site.
 * As Ben mentioned, “localhost” really does imply that it’s on a machine for local
   development only, and won’t be made available to the outside world. That’s when
   those 0777 permissions could really get you into trouble.
 * That being said, maybe a little more about your local machine could help. What
   are you using for your localhost server setup? Ubuntu possibly, or did you choose
   something different?
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639059)
 * [@hercal](https://wordpress.org/support/users/hercal/)
 * I can successfully duplicate that error message using the socute free theme right
   out of the box. I don’t even have to try it with a child theme. The way I made
   the message go away (as suggested by the warning message) was to navigate to `/
   wp-content/themes/socute/socute/cache` and applied 0777 permissions to the cache
   directory only.
 * You probably noted the “nested” scheme for the theme directory: `/socute/socute`–
   that’s the only way the theme would activate for me – by leaving it in the nested
   directory.
 * So for me, simply changing the permissions on just the /cache directory located
   in the socute theme to 0777, eliminated the error message. Your mileage may vary
   depending on how you set the _ownership_ of your wordpress files, and what processes
   have permission to write to them. Good luck!

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

The topic ‘Cannot write cache folder Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 4 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/cannot-write-cache-folder-error/#post-5639059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
