RHEL 5 - chmod 777

Hearn, Stan J. stan.hearn at nscorp.com
Fri Apr 24 02:16:24 UTC 2009


Also, you might consider setting "set group id (setgid)" on the
directories.  That means any file placed there becomes owned by the
group.   This is useful when the UID's placing the files in the
directory tree don't have the same primary group.

 

Stan

 

From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Florez,
Nestor
Sent: Thursday, April 23, 2009 6:44 PM
To: redhat-sysadmin-list at redhat.com
Subject: RE: RHEL 5 - chmod 777

 

Answer to your P.S.:

1) Create a group

 2) make the directory and subdirectories part of the group 

3) add the different users to that group.

 

:-)

	-----Original Message-----
	From: redhat-sysadmin-list-bounces at redhat.com
[mailto:redhat-sysadmin-list-bounces at redhat.com]On Behalf Of Lopez,
Denise
	Sent: Thursday, April 23, 2009 3:05 PM
	To: redhat-sysadmin-list at redhat.com
	Subject: RHEL 5 - chmod 777

	Hi all,

	I have a quick question.  One of my programmers is trying to get
his program working by chmod 777 directories.  On my RHEL 4 server the
program is working but on the RHEL 5 server when I do a ls -alh of the
directory, it is highlighted and the permissions are 777.

	Does anyone know what the highlighting means?

	P.S. I know about the security risk of chmod 777.  Does anyone
know of a way to allow a group of users and apache to write to a
directory and all directories underneath it.

	I have umask of 002 permission on directory are 2775 and user is
apache with group www.  

	Thanks in advance.

	Denise Lopez

	UCLA - Center for Digital Humanities

	Network Services

	Linux Systems Engineer

	337 Charles E. Young Drive East

	PPB 1020

	Los Angeles, CA 90095-1499

	310/206-8216

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20090423/1d145602/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20090423/1d145602/attachment.jpg>


More information about the redhat-sysadmin-list mailing list