RE: mkdir permission errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-07-14 at 15:11 -0400, Wei, Alice J. wrote:
> Hi,
> 
>    The apache  is running currently on root as the user.
>    The parent directory, test, is set to 0755.
>    I have no problems making new directories directly from the terminal prompt, and it does not give me user execution errors like the one in the following.
>    I am getting confused with why I can create directories now no longer through the PHP but only through the command prompt manually.
> 
> Does this give you information on what my problem might be?

Can you post the following command's output to the list or me personally
if you think it's sensitive:

    ps awxu | grep 'apache|httpd'

If apache is running as root as you say then it shouldn't have any
problems doing anything (that's a very dangerous way to run apache btw).
So either apache isn't running as root (maybe you think invoking the
daemon causes it to run as root -- it doesn't), or PHP itself is causing
the access denied problem (safe mode? base dir?).

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux