WordPress.org

Ready to get started?Download WordPress

Forums

CHMOD 666? Where and how? (4 posts)

  1. ksruckman
    Member
    Posted 8 years ago #

    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

  2. manstraw
    Member
    Posted 8 years ago #

    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.

  3. ksruckman
    Member
    Posted 8 years ago #

    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?

  4. pizdin_dim
    Member
    Posted 8 years ago #

    "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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.