• Resolved ClintonLee83

    (@clintonlee83)


    Checking if web server can write to ~/plugins/wordfence/tmp XFailed

    I’ve set the permissions of this folder to 775 using ftp. I’m running my wordpress on apache through a vps.

    How can I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    Another thing you need to check is whether this directory owner is set as the same web server user or not, by default it should be “www-data” for Apache on Ubuntu server.

    Thanks.

    • This reply was modified 7 years, 11 months ago by wfalaa.
    Thread Starter ClintonLee83

    (@clintonlee83)

    You’re right, the user group was wp-user when it should have been www-data. The following command solved the problem:

    sudo chown -R www-data:www-data /var/www/wp-content/plugins/wordfence/tmp/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘server can write to ~/wordfence/tmp failed’ is closed to new replies.