Support » Fixing WordPress » IIS image upload – View issues

  • I am using IIS7 and wordpress 3.1

    I noticed that even though IUSR had permissions on my uploads folder they weren’t propagating to the newly uploaded files. The other thing I noticed was that when a new image was uploaded the Owner of the new file was IUSR, and instead of giving IUSR the permissions that I had assigned for the parent folder it seemed to copy the permissions from “CREATOR OWNER” and assign them to IUSR for the upladed file.

    Some one please let me know How to fix it

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am having this same issue, too! No idea on how to solve the problem.

    Just had this and figured it out. The reason is php uses a temp folder to first upload the files to and then copies it to the actual destination folder taking with it the permissions inherited from the original temp folder.

    By default that folder is c:\windows\temp but you can change it in your php.ini (probably in c:\program files\php\php.ini > then edit the property upload_tmp_dir).

    I created a folder “C:\inetpub\phptemp”, applied the IIS_Users permissions and pointed the php.ini variable at it and all is good again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IIS image upload – View issues’ is closed to new replies.