Title: Cache error and touch() warning
Last modified: August 21, 2016

---

# Cache error and touch() warning

 *  Resolved [Henk Verlinde](https://wordpress.org/support/users/ve6304/)
 * (@ve6304)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/)
 * Hello, Danny! I have manually added an empty file named recent-facebook-posts.
   cache in the wp-content directory, and set permissions for this file to 755. 
   Still I am getting the following error message:
 * `Cache error: The wp-content folder (/path/to/server/wp-content) is not writable.
   Please set the folder permissions to 755.`
 * Also, when I hit Renew cache file, I get the following warning:
 * `Warning: touch() [function.touch]: Utime failed: Operation not permitted in 
   path/to/server/wp-content/plugins/recent-facebook-posts/includes/RFBP.php on 
   line 210`
 * I’d appreciate your help.
 * [http://wordpress.org/plugins/recent-facebook-posts/](http://wordpress.org/plugins/recent-facebook-posts/)

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

 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229149)
 * Hi Henk-Jan,
 * The actual permissions are a bit hard to predict because it depends on as which(
   system) user your webserver is running. Try working your way up from 755 to see
   when it starts to work.
 * If it’s still not working with permissions 777 on the file `recent-facebook-posts.
   cache`, let me know please.
 * Good luck!
 * Danny
 *  Thread Starter [Henk Verlinde](https://wordpress.org/support/users/ve6304/)
 * (@ve6304)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229160)
 * Hi Danny, thanks for your swift reply!
 * Hmmm. Unfortunately, that did not do the trick – even w/ 777
 * Regards, Henk
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229161)
 * Hi Henk.
 * Strange, are you sure the filename is `recent-facebook-posts.cache`, and has 
   no hidden extension or something? What about (temporarily) setting the `wp-content`
   permissions to 755 (non-recursive) so the plugin can create the file for you?
 *  Thread Starter [Henk Verlinde](https://wordpress.org/support/users/ve6304/)
 * (@ve6304)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229180)
 * Hi Danny,
 * The `wp-content` folder itself was already set to 755 (per default).
 * I deleted the `recent-facebook-posts.cache` file and (temporarily) set the `wp-
   content` folder to 777 (non-recursive). That did the the trick: the file was 
   created (w/ 644) and the error message did no longer pop up.
 * However, setting the `wp-content` folder back to 755, triggered the error message
   again. Also, changing the permissions of the `recent-facebook-posts.cache` file
   to 755 triggered this error message:
 * `550 CHMOD 755 recent-facebook-posts.cache: Operation not permitted`
 * And, I don’t want to keep the `wp-content` folder set to 777.
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229197)
 * Hi Henk,
 * Fixed this in the next update which will be available tomorrow morning!
 *  Thread Starter [Henk Verlinde](https://wordpress.org/support/users/ve6304/)
 * (@ve6304)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229201)
 * Thanks a lot and looking forward to it!
 *  Plugin Author [Danny van Kooten](https://wordpress.org/support/users/dvankooten/)
 * (@dvankooten)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229229)
 * Hi Henk,
 * Just pushed out version 1.7 where this can’t happen as I switched the caching
   mechanism to one of WP’s core functions. 🙂
 * Hope that helps!
 *  Thread Starter [Henk Verlinde](https://wordpress.org/support/users/ve6304/)
 * (@ve6304)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229250)
 * Hi Danny. Thanks again – it works!

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

The topic ‘Cache error and touch() warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-facebook-posts_eae9f9.svg)
 * [Recent FB Posts](https://wordpress.org/plugins/recent-facebook-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-facebook-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-facebook-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-facebook-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-facebook-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-facebook-posts/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 8 replies
 * 2 participants
 * Last reply from: [Henk Verlinde](https://wordpress.org/support/users/ve6304/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/cache-error-and-touch-warning/#post-4229250)
 * Status: resolved