WordPress permissions

Reading time: 1 min

Because I said I would and because this type of thing is still very much a “black art” as far as I’m concerned (networking in general falls into that category), here are the permissions I have set in my WordPress install.

This is what I have setup for my WordPress Theme folder (wp-content/themes/MYTHEME/) but I guess it’s likely to be similar if you have a custom WordPress install. I had loads of problems not being able to edit files through the WordPress admin interface, and various timeouts and 404 errors. I’ve not had any problems since I did the following:

Set the permissions (CHMOD for tech speak users) for the theme, or WordPress, FOLDER to 755.
Set the permissions for all the FILES in that folder to 776.

And that should help. Maybe. As ever with these things, YMMV.

To do this using FileZilla users, connect to your site, then right-click a folder or file, and select File Attributes. In the dialog that is displayed, type in the appropriate number and click OK.

Here’s hoping it helps. Someone.

4 comments

  1. Have a gold star! I’m now using your permission settings, so we shall see how things go. Certainly the change does not seem to have broken anything, so that’s a good start!

  2. I don’t understand why the files should need user/group executable permissions, unless there are bits of the new WordPress that run as CGI. 666 (read/write for anyone) should be sufficient.

Comments are closed.