Re: permission denied using COPY function?
| From: | David Robley | Date: | Tue, 19 Mar 2002 00:24:25 +0000 |
| Subject: | Re: permission denied using COPY function? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89057@lists.php.net to get a copy of this message | ||
In article <20020315223256.80118.qmail@web13005.mail.yahoo.com>,
pmgarton@yahoo.com says...
> Trying to use the COPY function to allow user uploads to a site,
> along the lines of:
>
> copy(temp directory, directory on my server).
>
> However, I'm getting an error:
>
> Warning: Unable to create 'directory/image name': Permission denied
> in myPHPfile on line x (where x is the COPY function).
>
> I've set owner permission to RWX on both the PHP file where the
> function is, and the directory to which the files are being uploaded.
> Any ideas why I'm still getting permission denied?
>
> Apologies if this question has come around before.
Is the owner the ID that your webserver runs as?
--
David Robley
Temporary Kiwi!
Quod subigo farinam