Re: Permission denied with copy function..
| From: | Scott Carr | Date: | Wed, 13 Nov 2002 14:18:49 +0000 |
| Subject: | Re: Permission denied with copy function.. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16929@lists.php.net to get a copy of this message | ||
What user is IIS running as? Does it have access to those directories?
--
Scott Carr
Documentation Maintainer
http://documentation.openoffice.org
OpenOffice.org
Quoting Step Schwarz <step@closethipster.com>:
> Sorry to post two questions in the space of 24 hours, but I'd very much
> appreciate a fresh pair of eyes. I built a content management area for a
> client to assist with managing text in their MySQL employee database and
> uploading photos directly to their server. Works fine in our test
> environment but we're getting errors on the live site which look like this:
>
> Warning: Unable to create 'd:\My Website\images\library\
> emps79.jpg' Permission denied in D:\My Website\service\emps.php on line 110
>
>
> Line 110 of the emps.php file contains the copy function.
>
> Unfortunately I do not have direct access to the server, but the client has
> checked permissions on both the temp directory and the directory specified
> in the warning and both grant the Everyone user Full Access.
>
> The server is Windows 2000, IIS 5.
>
> The only thing that really sticks out to me is there's a space in the file
> path -- do you think that could be causing a permission denied error?
> Unfortunately I'm not sure I have any control over how that "My Website"
> directory is named, so if you do think that's the culprit, any workaround
> would be much appreciated.
>
> Thank you in advance,
> -Step
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/