• Hi,

    I’m running the latest wordfence version with cache enabled. I made some post updating, publishing etc and I noticed the results weren’t showing. So I went to manually clear cache and I got error that wordfence couldn’t access .lock file and was asked if the server has writing permissions there (something along these lines).
    So I did:
    chmod -r www-data:www-data /path/to/my/website (I’m running Ubuntu) and that solved the problem.
    However I’d prefer to do:
    chmod -r myuser:www-data /path/to/my/website however this doesn’t work.
    The thing is chmod -r myuser:www-data works for all other plugins and for wordpress core (it can delete, upload etc files fine) so I guess the question is why doesn’t it work for wordfence and is there any chance it can work?

    All best,
    Goran

    https://www.ads-software.com/plugins/wordfence/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not sure but it would seem to be a server issue and not a wordfence specific problem, since we don’t see this too often and it seems to always be a permissions issue. Is there any reason you didn’t just change the wfcache folder permissions (ours is set to 755) or check the lock file permissions (644 on our server)?

    tim

    Thread Starter krko

    (@krko)

    it already was ??
    664 however works. is there a risk leaving it at 664?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue clearing a cache’ is closed to new replies.