My colleague has been uploading files via PHP hosted on Windows Server 2008 IIS 7, but she’s been having a problem downloading them, even though proper permissions on the upload folder are granted to the IIS_USRS group. Turns out the uploaded files aren’t!
Share
In the hope that this might help someone else, I researched and found a solution here:
http://www.howyoudo.info/index.php/how-to-fix-windows-server-upload-file-inherit-permissions-error/
In short, change the permissions on “upload_tmp_dir” (path in php.ini file) folder to match your web app folder permissions.
If you cannot or do not want to change the permissions on the temp folder (the system temp folder by default). Then create a new temp folder and set the desired permission on that. Then update the PHP INI upload_tmp_dir value to point to that directory.