Support » Developing with WordPress » CHMOD – Final Word on 766 v. 666 v. 644?

  • Resolved Sherry Dedman


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    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:

    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!)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CHMOD – Final Word on 766 v. 666 v. 644?’ is closed to new replies.