[TriLUG] Re: fedora core 3 permishions

Jason Tower jason at cerient.net
Fri Mar 25 09:19:56 EST 2005


and i for one am going to have to ask you to live up to your license 
plate dom de plume a little bit better.  these friendly, intelligent, 
well thought answers are simply not acceptable.  the bofh tag is not a 
privledge, not a right.  you want the bofh tag?  then start acting like one.

jason

> I would say the problem is a bit simpler, but I could be wrong (as 
> Joseph pointed out yesterday :) ).  Apache needs to be able to read the 
> files, via standard UNIX file permissions.  Because it's apparently 
> running as group Apache, that group needs read access to those files, 
> and if there are directories involved, execute access to be able to 
> descend into them.  You can easily remedy this problem after dropping 
> your 800megs of files into place, with the following two commands:
> chgrp -R apache /var/www/html/
> chmod -R g+rx /var/www/html/
> These commands will change the group (chgrp) recursively (-R) to apache 
> on /var/www/html/, and then change the file permissions mode (chmod) 
> recursively (-R) adding  read and execute permissions for the group 
> (g+rw) on all files in /var/www/html/.  As always, you should read the 
> man pages for chgrp and chmod before trusting any commands like this 
> from a mailing list.  After all, my license plate reads BOFH.  :)
> 
> Aaron S. Joyner



More information about the TriLUG mailing list