WordPress.org

Support

Support » Themes and Templates » CHMOD 666? Where and how?

CHMOD 666? Where and how?

  • I need to make my Theme files to be CHMOD 666. Where and how do I do this? Also will this enable me to modify my templates in my ADMIN area where the templates are listed? Thank You as Always,
    Ralph

Viewing 3 replies - 1 through 3 (of 3 total)
  • if you can login via ssh, to a command line, you type “chmod 666 filename”

    Or, if you upload your file with a ftp, scp, or sftp program, there should be a place where you can select a file, and then change it’s permissions. 666 equals 110 110 110 in binary, and correspond to read/write/execute for three users, owner first, then group, then anyone. basically, you want to turn on read and write for everyone.

    that probably wasn’t clear. I’m quite tired right now. I hope you understood.

    YEA< I’m following you a little, I need to go in my FILEZILLA (my FTP client) and go to wp-content, then themes and change the permissions? Right?

    “basically, you want to turn on read and write for everyone”

    Err, no. That’s exactly what you don’t want to do. You want to make sure that whatever your username is, that you can have write permission but only allow your webserver username to have read permission, unless you want to be able to edit your templates via the admin interface, in which case you will need the webserver username to have write permission too.

    The “everyone” should almost never have read permissions, let alone write.

    For maximum security, files would typically be 640 but directories will be 750, apart from your “files” upload directory which will need to be 770.

    There are quite a number of posts on this already, search the forums to learn more. Also, read this:

    http://codex.wordpress.org/Changing_File_Permissions

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CHMOD 666? Where and how?’ is closed to new replies.