Support » Fixing WordPress » WordPress File & Folder Permissions on IIS

  • Hello,

    I am looking for a long time for a good solution. Neither here in the forum nor on Google I could find meaningful and accurate solutions.

    Namely, it’s about how best to assign the file and folder permissions under Windows / IIS. Many say you should just give the root directory of the website write access and ready. But I find that very negligent.

    WordPress has been around for a long time and I think it’s bad that the developers do not give any specific information or make a kind of tutorial.

    Thanks you for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    It’s not just a matter of public root having read and write permissions, which user and/or group has which permissions factor in. The user the web server runs as needs to have write access to all WP files/folders in order to perform updates. Outside of updates, normal operation only needs read access, though exceptions abound. /uploads/ obviously needs to be writable, there are others. You can further restrict write access for normal operation, but in order to do updates, the added restrictions would need to be removed.

    Compound this with the required permissions varying by host and by operating system and you can imagine why there is not a definitive answer. A general discussion can be found within Changing File Permissions. It’s oriented towards Unix style permissions, but who can read or write what remains the same with IIS, the permissions are just assigned differently.

    Hello all – I’m a new user/builder of a WordPress site…

    Hello @ammykami83

    Question on your article above, but it’s closed + I could only find this way to reach out to you…
    https://wordpress.org/support/topic/file-permissions-for-wordpress-on-iis-80/

    I don’t fully understand this part, or can’t find it in our IIS v10

    “IIS APPPOOL\<the name of your application pool> – full control

    Then, in IIS, go to your website -> IIS Authentication -> Anonymous Authentication (which should be the only one enabled). Click Edit. Ensure Application pool identity is selected”

    Can you provide more details?
    Hopeful,
    Brad

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress File & Folder Permissions on IIS’ is closed to new replies.