IIS7 permissions and WordPress update problems
-
Hello WordPress Support,
I have found numerous permissions recommendations for LAMP setups, however I have not found any “official” permissions recommendations from the WordPress developers in regards to IIS.
If someone could point me to some official permissions recommendations from wordpress that apply specifically to IIS7+ it would be greatly appreciated.
I have historically had success with the following setup, but for the last few months I have been having great difficulty getting the wordpress updates to install without providing write access to the entire web root, which I don’t want to do for obvious reasons.
On IIS, I have each wordpress site running under its own application pool, under its own user account.
I grant the FTP user full control of the entire web root, and I grant the application pool user the following permissions
<br /> (website root) : read only access<br /> \wp-content\uploads\ : full control<br />
In some cases I would grant full control to \wpcontent\ if several plugins need write access to their own subfolders.
Historically, updating via FTP would work with this configuration however for the past 6 months or so I have been having difficulties getting wordpress updates to work. I’ve tested FTP outside of wordpress and it is working normally.
I have tried clean installs of wordpress with a multitude of configurations (with and without FTP_SSL, connecting to the private IP of the FTP server instead of its public NAT’d counterpart, using ftpext and ftpsockets in wp-config, defining WP_TEMP_DIR in wp-config) the only configuration that allows a clean wordpress update at this point is opening the permissions wide open and then locking them back down again.
I’ve been managing Windows/IIS servers for well over a decade so I’m very familiar with NTFS permissions, IIS, and how they operate. To the best of my knowledge the server side is configured correctly. Everything seems to work except for wordpress updates.
I will happily perform any tests needed to troubleshoot this issue. I can provide Web Server, FTP Server, and PHP logs as needed. Please advise.
[Moderator Note: No bumping, thank you.]
- The topic ‘IIS7 permissions and WordPress update problems’ is closed to new replies.