Recently I’ve been developing a WordPress Intranet for a company that runs on Windows hosting ( IIS 6 – Internet Information Services ).
I ran into a problem with file permissions and not being able to write to the wp-content/uploads directory, I’ve ran into the same problem with unix many times (which alittle bit of recursive chmoding usually sorts out or just chgrp www-data, the user many hosts run apache as ).
What I was trying todo was add a picture to a post and it gave me the error: uploaded file could not be moved to wp-content/uploads
With Windows its alittle different, here’s what I did:
- right clicked the wp-content folder and clicked properties
- selected security tab
- Added the Authenticated Users group
- Added Modify permission to that group ( this then applies this recursively through wp-content , uploads etc …)
- retried uploading a picture to post, and all good.
This is also a good resource I did roughly whats in step 1 here (except with a different group) https://www.itworld.com/article/2833144/windows/wordpress-on-iis—the-uploaded-file-could-not-be-moved–solved-.html , I didn’t need to apply step 2.