Support » Fixing WordPress » Permissions Question

  • Resolved allanlud


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 {} \;

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permissions Question’ is closed to new replies.