On Thu, 12 Sep 2002, Breno Cardoso Perucchi wrote:

> system("mkdir /home/hosting/test");
> but the PERMISSION IS DENIED and I am the root on my server.
> How I change the user to root?

Dude, you don't change to the root user ... you'll get yourself owned that
way.  Change the permissions on the directory to allow the web server's
user to write files and create subdirectories.

For example, most of my boxen run apache as user 'www-data' --
# chown root:www-data /home/hosting
# chmod 2775 /home/hosting

        ~Chris


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

Reply via email to