What's the output of "cat /etc/group"?

John Hebert

--- "John B. Cole" <[EMAIL PROTECTED]> wrote:
> Hi, all.  I have what I hope is a simple question
> about 
> groups.  I am currently running RedHat 7.2.
> 
> I am working on some PHP-Nuke stuff work, no big
> deal.  However, I have it 
> installed to /var/www/html.  It is a hassle to have
> to do everything in 
> /var/www/html as root, so I created a group called
> 'web' using the RH 
> User/Group administration tool.  I added my personal
> account, jcole, to the 
> 'web' group.  Then I did 'chgrp -R web html' and
> 'chmod -R 2775 html' from 
> /var/www.  So far so good, right?
> 
> So I open a terminal window and pop over to
> /var/www/html and try something 
> like 'cat index.php > foo' to see if I can now edit
> things in the web tree as 
> jcole.  Uh oh - 'bash: foo: permission denied'.
> 
> The entry for the web group in /etc/group is:
> 
> web:x:501:jcole
> 
> Does anyone out there have any idea as to what I am
> doing incorrectly?
> 
> Thanks.
> 
> John.
> 
> -- 
> John B. Cole
> PT.NET Webmaster, College of Education
> Animal Breeding and Genetics Section, Department of
> Animal Science
> Louisiana State University
> Baton Rouge, LA 70803
> [EMAIL PROTECTED]
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

Reply via email to