Firewall doesn't configure – directory permissions
-
Hi,
I upgraded to WordFence 6.1.1 this morning, but trying to configure its firewall displays:
“We were unable to write to ~/wp-content/wflogs/ which the WAF uses for storage. Please update permissions on the parent directory so the web server can write to it.”
There are no additional buttons or other options on this screen.
I tried deactivating two other plugins that potentially conflict with WordFence (NinjaFirewall and Sucuri), changing the Upload setting in NinjaFirewall to allow file uploads, updating to the 6.1.2 version of Wordfence, and uninstalling & reinstalling WordFence: No change.
Interestingly, the WordFence firewall configures OK on some other sites I manage, just not this one – and those other sites have NinjaFirewall and Sururi configured similarly to this one.
I’d be happy to manually configure some permissions, but it’s not clear from the error message precisely which directory is “the parent directory”, or what permissions WordFence needs. I did note, however, that the wflogs directory has “the usual” files in it, so WordFence is able to write to that directory:
# ls -al /ReadyNAS-Volume/public_html/wp-content/wflogs total 88 drwxr-xr-x+ 1 admin admin 128 Apr 12 10:40 . drwxrwxrwx+ 1 guest guest 142 Apr 12 09:35 .. -rw-rw-rw-+ 1 admin admin 40083 Apr 12 09:35 attack-data.php -rw-------+ 1 root root 711 Apr 12 10:40 config.php -rw-rw-rw-+ 1 admin admin 133 Apr 12 09:35 .htaccess -rw-rw-rw-+ 1 admin admin 51 Apr 12 09:35 ips.php -rw-rw-rw-+ 1 admin admin 18457 Apr 12 09:35 rules.php -rw-rw-rw-+ 1 admin admin 13814 Apr 12 09:35 wafRules.rules
Any ideas?
Thanks.
- The topic ‘Firewall doesn't configure – directory permissions’ is closed to new replies.