Re: Execute command with permissions
| From: | timo stamm | Date: | Mon, 16 Sep 2002 20:51:06 +0000 |
| Subject: | Re: Execute command with permissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116568@lists.php.net to get a copy of this message | ||
Hi Breno,
you do not want to run apache as root.
Make sure the www user has access to the directory. Check with ls, change with chmod.
Timo
Am Montag den, 16. September 2002, um 22:27, schrieb Breno Cardoso Perucchi:
Hi, I am trying execute the a command of system (Unix). system("mkdir /home/hosting/test"); But the command not is executing because need the permissions to this. I know than I need than apache is running with user root. Don't exist one way for than I don't need to recompile my apache ? thanks Breno Cardoso Perucchi breno@omegatec.net Consultor - Omega Tecnologia http://www.omegatec.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php