RE: mkdir permission errors

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

 



---- "Wei wrote: 
> Hi, Rob:
> 
>   I forgot to mention that I have been using yum install.
>   I have reinstalled the entire thing, put back all the packages, and then I went to /var and did a chmod -R 777 var, and then did a
> 
>    [root@localhost var]# chown -R apache:apache .
> 
> Interestingly, I do not see anything different, and I still get this error that says my permission is denied. Here is my
> 
> Obviously, my last one has already changed the owner to apache already.Nevertheless, I am still denied even when I am now logged in as root. Is this anything with firewalls?
> 
> Thanks for your help.

Alice,

$whoami=system('whoami');
echo $whoami;

$pwd=system('pwd');
echo $pwd;

That should tell you what ID you are and the path you are in.

Make sure that the path you are in has the correct permissions.

Wolf


-- 
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