Support » Everything else WordPress » CHMOD a.k.a. file permissions

  • CHMOD –
    It’s a subject that baffled me when I first started. I didn’t have a clue what it meant, nor how to “chmod” a file or folder.
    How does everyone feel about the CHMOD information in the install docs? Basically it infers that the file needs to be 666 and then you are given a link to what CHMOD is all about. You “chmod” a file in a *nix environment, do you not, while simply “set file permissions” on those “other” servers, correct? Perhaps the install directions need to have a bit more generic language to start a topic and then get geek-specific depending on various configurations like Apache servers vs. others. Suggestions? If so, please add them to this thread.
    Can’t the be 766? My file is set that way (accidentally, I might add) but it is still getting updated. Going to 666 means it is also executable. Why does this file need to be executable? Enquiring minds want to know! 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • About the install directions.
    I agree that maybe chmod / file permissions should be interchangeable terms, but when getting to the nitty gritty, that is very dependent on the FTP program. I could tell you how to do it in my client or by telnet, but if you are using cuteftp, smartftp, wsftp or any others, I’d have no clue, and the way it is done can be quite different.
    I’m after something to do, so would a write up about File Permissions be of any use ? (I’ll make it specific to WP needs and also cover other bits too) ?
    Hell, I could do a guide as to how to do the CHMOD / File permissions for the free FTP clients too. 🙂

    Podz, that sounds like a GREAT project! Hop to it! 🙂

    There’s a cool javascript ‘chmod calculator’ over at
    Let’s you play with it, and d/l the script, too.

    Okay… CHMOD howto’s for clients.
    What needs adding to this list ? (the client must be free / trial )
    AceFTP 3
    ws_ftp le
    I’ll do Windows GUI clients, not command line (if you have got one of those, you shouldn’t need a guide !). And that list is from a quick Google….

    Thank you podz and lizard! To show our appreciation, I’d like to offer you a FREE download of some amazing FREE software which you can get here!
    Thanks again…

    Also, to protect the security of your site, what are the CHMOD/permissions that should be set for the various files and folders? Is 755 too open or too restrictive?

    If anything I would say that 755 is just unneccessary for anything except for the directories. None of the WordPress files need to be executable, so none of them should have odd numbers (Note: directories do need to be executable for users to go into them, so they do need to be 755). Most other files should be 644, as far as I can tell. That simply means that you can read/write to them but everybody else can only read. Oh yeah, feel free to correct me if I’m missing anything.

    I’ve grabbed 8, and I’ll probably do them complete with screenshots (a text version I will also do, but it’ll be easier to do a imaged version first). I’ll host them on my site, but feel very free to copy them to wherever may be more useful once they are done.
    I’ll cover CHMOD, and also setting the client to display hidden server files – the ‘-al’ command.
    Is there anything else that has cropped up a lot in the forums or might otherwise be useful ?

    Are you:
    A) female
    B) single
    C) available
    D) a moose lover
    because I think I’m in Moosey love! 🙂

    A) no
    B) no
    C) no
    D) lube maybe ?

    Thanks in advance for the excellent contribution!

    As a complete and total newbie who found her way here in search of advice about CHMOD I’d like to suggest that a bit more detail be put in for those of us who are completely clueless. Hopefully I won’t remain this way for long but right now all I’ve been able to tell when trying to edit templates is that i need to make the files writable…. sigh… as if I know what that means.

    I did do that guide 🙂



    I am having a problem that is related to changing permissions. I have been using the WordPress Theme Manager plugin, which I got from here in the Admin category. As it turns out, this plugin uploads files to one’s server using the “nobody” user id. Consequently, I can’t delete, edit, copy, change permissions, or otherwise modify these files via SmartFTP or the File Manager in Cpanel. I can edit the files in WordPress, however. I had wanted to set up my blog with Mike Cohen’s Random Image theme, and had a bunch of my images ready to upload and copy over the images that came with the theme. I can’t do this, because I’m not “nobody.” Is there a command line, or a utility, or a feature of SmartFTP that I’m not aware of, that will enable you to change the user id?

    By the way, the tutorial podz wrote is now here:

    the tutorial is great, I know how to change the file permissions through the ftp program. I (and i’m sure others) would find it helpful to compile a list of files that require a 755, or other permission level while being able to put the rest of the files at a lower or more restrictive level. (and still have the ability to edit templates from the admin page)

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.