scripts execute as user nobody
| From: | Mr. Adam ALLEN. | Date: | Fri, 27 Apr 2001 00:05:28 +0000 |
| Subject: | scripts execute as user nobody | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50530@lists.php.net to get a copy of this message | ||
I have a problem with my PHP scripts on my web-hot, all my php scripts are
running as the user nobody (group nobody).
Whenever I login via ftp/telnet I am logged in as the user asduk (group
asdukgrp).
The problem I have is that I cannot delete my files because the permissions
on the directory is set to 775. I cannot change to the user nobody my host
will not allow that.
If I change the permissions on the directories to 777 then I can delete the
files, but have read that this is dangerous.
If anyone has suggestions on how to get round this problem I'd appreciate
them (or let me know if a user browsing a php site in directories with
permission 777 can exploit this).
I am using PHP 3.0.14 (when using PHP4.05 RC1 on a different host I don't
get this problem - but need this working with PHP 3.0.14)
Thanks for any help
Mr. Adam ALLEN.
adam@dynamicinteraction.co.uk
http://www.dynamicinteraction.co.uk