Re: HELP Permission Error
| From: | Bruce | Date: | Thu, 15 Apr 2004 19:35:39 +0000 |
| Subject: | Re: HELP Permission Error | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-13248@lists.php.net to get a copy of this message | ||
Thanks -- after some experimenting... I set the permissions to 777 on the
directory. The file transferred okay.... Now, I'm confused on how to get
the virtual domain to own the uploaded file and correct the permissions.
Any ideas.
Bruce
"Chris Hewitt" <g0pae@manordat.demon.co.uk> wrote in message
news:407ECED4.9090403@manordat.demon.co.uk...
> Bruce wrote:
>
> >New to PHP/MySQL. I have RH9/Apache/MySQL/PHP running. I want to upload
a
> >file. But, I have a permission error message I'm receiving. Does anyone
> >know where I can look
> >
> >Warning: Unable to create '65.jpg': Permission denied in
> >/home/budgetn/www/html/_new_admin/p_add_staff.php on line 42
> >
> The user that the webserver is running as needs permission to create the
> file in the directory you specify. You have not told us which directory
> or what the permissions on it are, but I suspect this is the problem. I
> think in RH9 Apache httpd runs as user "apache", if not its "httpd".
>
> Hope this helps.
>
> Chris