[NTLUG:Discuss] su?

Jeremy Blosser jblosser-ntlug at firinn.org
Fri Jul 13 08:46:00 CDT 2001


Aaron Goldblatt [aaron at goldblatt.net] wrote:
> Allow users to log in as, say user[1..3], in group group1.  Use the 
> previously described cron job to set permissions if necessary:
> 
> -rwxrwxr-x user1.group1 file
> -rwxrwxr-x user2.group1 file
> -rwxrwxr-x user3.group1 file
> 
> The cronjob command would be something like chgrp -R group1 /htdocs

You can accomplish this much by just making the parent directory sgid.
This will cause anything created under it to be owned by the group that
owns the parent.

chmod g+s /htdocs

-- 
Jeremy Blosser



More information about the Discuss mailing list