Re: Permission denied with copy function.. SOLVED
| From: | Step Schwarz | Date: | Thu, 14 Nov 2002 22:14:07 +0000 |
| Subject: | Re: Permission denied with copy function.. SOLVED | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16951@lists.php.net to get a copy of this message | ||
Scott, you were right all along. I started searching ASP lists for help
because I figure the permissions will be the same no matter what scripting
language you're trying to upload files with. I found a post explaining that
IIS uses a special user account called IUSR_<machine name> -- we added
permission for this IUSR account and our problems went away. We were just
changing permissions for the wrong user before..
Thanks again,
-Step
> Oops! I actually meant to copy the whole list on this.. I need to remember
> to hit the "Reply All" button :)
>
>> What user is IIS running as? Does it have access to those directories?
>
> Thanks for thinking of that -- we checked the permissions of the user set up
> to allow anonymous access to the site, and those permissions also grant Full
> Control to the user.
>
> We've also checked the IIS console to make sure the web site has Write and
> Execute access.. and to make sure the temp directory is valid and also has
> the proper permissions.
>
> I tried to Google around for this.. but if anyone has seen setup
> instructions for IIS -- not in installing PHP itself but in setting up the
> IIS console beyond what the PHP 4.2.3 installer does by default -- please
> let me know!
>
> Thanks,
> -Step