WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Permissions Question (3 posts)

  1. allanlud
    Member
    Posted 11 months ago #

    Hi all, just a quick question about permissions.

    What are the default permissions for the .htaccess file.

    And, do plugins fall under the owner, group or public when settings permissions?

  2. Sabinou
    Member
    Posted 11 months ago #

    rw-r--r-- , or 644 if you prefer :)

    Plugins have the same group and owner.

    If you have shell access, here's how to make all file rights right (huhu) in one second :

    find /home/your_personal_folder_okay/public_html/ -type d -exec chmod 755 {} \;
    find /home/your_personal_folder_okay/public_html/ -type f -exec chmod 644 {} \;
  3. allanlud
    Member
    Posted 11 months ago #

    Thanks for the reply Sabinou. I had seen online that it was 644, just wanted to make sure, as it seems a site I was working on (not updating, just editing an SEO plugin) had a 500 error this morning.

    As far as I know nothing was updated and I hadn't worked on the site in a few days, but looking at the htaccess file it had been changed this morning, so I thought maybe a plugin had caused the change and maybe a permission issue would have sorted it out...

    The old htaccess file was uploaded and is set to 644 and the site is fine now.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.