• 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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    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

    (@ve6304)

    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

    (@dvankooten)

    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

    (@ve6304)

    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

    (@dvankooten)

    Hi Henk,

    Fixed this in the next update which will be available tomorrow morning!

    Thread Starter Henk Verlinde

    (@ve6304)

    Thanks a lot and looking forward to it!

    Plugin Author Danny van Kooten

    (@dvankooten)

    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

    (@ve6304)

    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.