SAFE_MODE + deleting files
| From: | Robert Mena | Date: | Thu, 22 Nov 2001 19:35:57 +0000 |
| Subject: | SAFE_MODE + deleting files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75540@lists.php.net to get a copy of this message | ||
Hi,
I have enabled the safe mode in a virtual host that
uses php in order to try to prevent the user from
uploading (via ftp) a php that could sniff around
other's people files.
Unfortunately I got stucked in a problem. this site
uses php to upload and manage some files remotely.
The webserver runs as nobody.nobody but the files are
owned by the user's id.
Warning: SAFE MODE Restriction in effect. The script
whose uid is 1515 is not allowed to access
/home/httpd/html/some_site/img/foo.jpg
owned by uid 99 in .....php on line 43
Any tips ?
Best regards.
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1