Title: Correct permissions?
Last modified: August 19, 2016

---

# Correct permissions?

 *  [Kjetil](https://wordpress.org/support/users/kjetilgf/)
 * (@kjetilgf)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/correct-permissions/)
 * Hi
    Is there somewhere an overview of which permissions I should set on the different
   files and folders? I’ve been searching around a bit, there are several threads,
   but none really puts it down to something like – 777 for wordpress main folder–
   644 for php files (just as an example) Also details on Group and Owner should
   be set to, would be very helpful.
 * AND
    Is it important if my web host runs the server in SafeMod or not? (Mine 
   does) Thanks, Kjetil Flekkoy
 * PS – found this, but it doesn’t make it clear to me:
    [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [djaef](https://wordpress.org/support/users/djaef/)
 * (@djaef)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/correct-permissions/#post-695414)
 * Yes, I was looking for exactly the same thing. I had a few troubles during installation,
   and although I got it all running, I’m now concerned that I’ve left back doors
   open and the security of the site is not as good as it should be. What I want
   is a list of folder permissions, folder by folder, or file by file, whatever 
   it takes, to systematically go through and check the proper permissions are in
   place.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/correct-permissions/#post-695415)
 * Since there are so many different ways to configure web servers, there can never
   be an “absolute” guide to cover all scenarios. The link in the OP’s post is a
   great place to start — you just need to know what user is running apache…
 * Another reference: [Hardening_WordPress](http://codex.wordpress.org/Hardening_WordPress).
   See the File Permissions section.
 * General rule of thumb is 755 for directories and 644 for files. But again, that
   depends on how your server is config’d.
    777 is never a good thing and should
   only be done temporarily…
 *  [ogre](https://wordpress.org/support/users/ogre/)
 * (@ogre)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/correct-permissions/#post-695416)
 * 755 and 644 is best. 775 and 664 is often required on hosted services. 777 is
   to be avoided. If your host requires this setting, they are idiots.
 *  817686
 * [17 years, 10 months ago](https://wordpress.org/support/topic/correct-permissions/#post-695417)
 * My blog(s) are hosted on Textdrive, on Pendrell. I have WordPress 2.5 on [http://threeeighthsspacer.com/blog](http://threeeighthsspacer.com/blog)
   and it seems to be working fine, but I decided to go through and check up on 
   the permissions set for the files and folders. I blogged my progress at
    [http://threeeighthsspacer.com/blog/2008/07/31/setting-permissions-properly-in-wordpress/](http://threeeighthsspacer.com/blog/2008/07/31/setting-permissions-properly-in-wordpress/)
   so that I would have a guide to go on, since I have several WP blogs. Also there
   appears to be a paucity of clear, concise instructions written for the average
   wannabe-geek like me. I followed (mostly) the recommendations given in the WordPress
   Codex, with some modifications that I think are favorable in regard to security.
   Perhaps someone here would be kind enough to look over my guide and let me know
   if and where I have gone awfully wrong . . .

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Correct permissions?’ is closed to new replies.

## Tags

 * [file](https://wordpress.org/support/topic-tag/file/)
 * [folder](https://wordpress.org/support/topic-tag/folder/)
 * [permission](https://wordpress.org/support/topic-tag/permission/)
 * [set](https://wordpress.org/support/topic-tag/set/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 5 participants
 * Last reply from: 817686
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/correct-permissions/#post-695417)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
