[mdlug] group access to directories

Wojtak, Greg GregWojtak at quickenloans.com
Sun Dec 13 12:43:04 EST 2009


We use this setup extensively, too.  Before my time here *everything* was world writeable.  *shudder*

-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf Of Carl T. Miller
Sent: Saturday, December 12, 2009 3:17 PM
To: MDLUG List
Subject: [mdlug] group access to directories

To make a set of files work with groups:

chmod -R g+rw somedir
find somedir -type d -exec chmod g+s {} \;

Then make sure each user has the umask 002.  It is
common for it to be either 002 or 022.  Typically
this is set in /etc/profile, /etc/bashrc, or the
users' .profile, .bash_profile or .bashrc file.


_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list