On Tue, 2008-07-15 at 09:06 +0100, Peter Ford wrote:
> Wei, Alice J. 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
> > 
> >    [EMAIL PROTECTED] 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
> > 
> > [EMAIL PROTECTED] var]#  ps awxu | grep -E 'apache|httpd'
> > root     31547  0.0  0.3  21268  6584 ?        Ss   16:12   0:00 
> > /usr/sbin/httpd
> > apache   31549  0.0  0.2  21400  5572 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31550  0.0  0.2  21400  4908 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31551  0.0  0.2  21400  4908 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31552  0.0  0.2  21400  4896 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31553  0.0  0.2  21268  4860 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31554  0.0  0.2  21268  4860 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31555  0.0  0.2  21268  4860 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > apache   31556  0.0  0.2  21268  4860 ?        S    16:12   0:00 
> > /usr/sbin/httpd
> > root     31708  0.0  0.0   4120   728 pts/1    R+   16:30   0:00 grep -E 
> > apache|httpd
> > 
> > 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?
> > 
> 
> Hang on a minute: you're original message said the error was:
> 
> Warning: chmod() [function.chmod]: Permission denied in 
> /usr/local/apache/htdocs/file_linux.php on line 27
> 
> But you say you've re-installed, and done "chmod -R 777 var" and "chown -R 
> apache:apache ." in /var

As Scooby would say... "Ruh, Roh!".

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

Reply via email to