WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CHMOD - Final Word on 766 v. 666 v. 644? (4 posts)

  1. Sherry Dedman
    Member
    Posted 6 years ago #

    I know that I'm supposed to change my permissions to 666 to make my files writable in order to change them on the dashboard. But I've also seen someone say they should be changed to 766. Is that correct? Which is preferable? Why would I choose one over the other?

    Also, is it adviasable, from a security standpoint, to just let my files sit with a permission of 666 or 766? Or should I go back and change them to 644 when not working with them?

    Thank you. I hope I've been clear.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    766 is unnecessary. Stick with 666. Or 664, if that works. Or even 644 if that works.

    Basically, go with the lowest number that works. Lower numbers are more secure.

    It would help if you understood the unix permissions style. Read this:
    http://www.elated.com/articles/understanding-permissions/

  3. Sherry Dedman
    Member
    Posted 6 years ago #

    Thank you very much for the help; I appreciate that. I will do the supplemental reading as well. I want to understand all I can. (Self-taught, so slow-going!)

    -Sherry

  4. bekabug
    Member
    Posted 6 years ago #

    I have 2 hosts... On Company A (Shared hosting) 644 works on Company B (Dedicated server) 666 is all that will work. Company B is insisting that it's a flaw in WordPress that makes this so, but I know better because somehow on Company A's server things are working.

    Does anyone know, specifically, where this issues lies. I want Company B to reconfigure whatever they have to in Apache or anything else to make 644 work.

Topic Closed

This topic has been closed to new replies.

About this Topic