WordPress.org

Ready to get started?Download WordPress

Forums

iThemes Security (formerly Better WP Security)
File Permission for .htaccess and Wp-Config (7 posts)

  1. AKJK
    Member
    Posted 3 months ago #

    I noticed in version 3.6.6, the file permissions for both the .htaccess and wp-config files were set to 444 when you use server tweaks to lock down the files.

    However after the upgrade to version 4.0 and above, the file permissions seem to be set to the less restrictive 644 for both the above files. Was wondering what is the rational for this change and if the file permission is still set to 644 for version 4.0.21.

    Do advise and thanks

    https://wordpress.org/plugins/better-wp-security/

  2. milkyco
    Member
    Posted 3 months ago #

    I have a similar thing happening on all sites with iThemes Security installed. I reported it as a bug and posted about it on here a couple of days ago. I was hoping version 4.0.21 would have fixed this but it seems not. I can't seem to change the permissions via ftp either. Whenever I do, they change back to 664 for .htaccess and 600 for wp-config.

  3. tcsmith11
    Member
    Posted 3 months ago #

    Noticed same behavior here; submitted bug report.

  4. Virginia Nicols
    Member
    Posted 3 months ago #

    Is this the same problem? This message appears when I try to save settings: WordPress was unable to save the your options to .htaccess or nginx.conf file.

    Which setting is jamming it up? Thanks.

  5. el_bell
    Member
    Posted 3 months ago #

    Mine says

    'WordPress was unable to save the your options to .htaccess or nginx.conf file. It looks like another process might already be working on the file. Please wait a few minutes and try again or contact support if the problem persists.'

    and it does persist.

    shortly after i was locked out of my dashboard/backend, i was told by support from my web host that it was a .htaccess issue and google chrome cache issue?

  6. milkyco
    Member
    Posted 3 months ago #

    Alas v4.1.3 does not appear to fix this issue. Although it is the first item on the change log list. I have not had any error messages like the ones listed here though.

  7. milkyco
    Member
    Posted 3 months ago #

    Update. v4.1.5 has fixed the permissions setting for my .htaccess file to 444 but alas wp-config is still at 600. getting there slowly :-)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.