On Wednesday 06 August 2003 18:16, Bix wrote:

> I have written as part of my CMS, an image upload system, now when the
> images are placed in the destination folder, they are owned by httpd.root
> and I need to get them to be owned by siteuser.sitegroup.
>
> I have tried to chmod and chgrp it to siteuser.sitegroup but it gives
> permission denied errors.
>
> Is there any way round this without enabling run as root? 

Only a user with root privileges can chown/chgrp.

> Or is there a
> safe way to do this?

The easiest way may be to ftp the uploaded files back onto the server using 
the 'siteuser' account.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A man with 3 wings and a dictionary is cousin to the turkey.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to