Support » Plugin: BulletProof Security » [Plugin: BulletProof Security] Can't change permissions on certain files

  • Resolved snowmoon



    I’ve been installed BPS after a hack on my site. Pleased with how things are going at the moment but have a question. On the “Security Status” page, it’s showing me a few files with recommended permissions. For example,

    ../.htaccess (recommended) 404 (current) 644

    but when I tried to change it to 404, it immediately reverts to 644.

    Any idea why this is and how I can get around this?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AITpro


    Did you completely restore your website from a known good backup? BPS is designed to protect your website from being hacked, but if it was already hacked or the hackers code is actually still within your website files or database then BPS is not designed to do things like automatically clean up a hacked website or protect against hackers code that is already within your website.

    What SAPI type is BPS detecting? CGI or DSO? DSO file permissions should not and sometimes cannot be set any more restrictive than 644 permissions. Also some web hosts have limitations on file and folder permissions that you can use on your Hosting account. Check with your Web Host to see what requirements / limitations you have for your particular Hosting Account.

    My SAPI is CGI. I have just read the Read Me file for File and Folder Permissions and I understand now about some hosts restricting permissions. Sorry, I should have read it before!

    Plugin Author AITpro


    Well don’t just give up on trying to change the file permissions. 😉 Check with your Host. This is actually something that is very important to do so it is worth knowing where you stand with your Host. Mass Code Injection attacks on Web Host Servers exploit Group Permissions to carry out a successful hack. So it is important that you should remove Group Permissions from your root .htaccess file. The hackers target these files specifically in mass code injection attacks. Root .htaccess, Root index.php and Root wp-blog-header.php.

    Thanks. I will check with my host and see what they say.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: BulletProof Security] Can't change permissions on certain files’ is closed to new replies.