On Tue, 2003-11-11 at 09:43, District Webmaster wrote:
> Hello all,
> 
> I have a server running Red Hat 9. I have a group of users that
> wants to have complete access to each other's files. When an individual
> puts a file on the server, the rights to the new file default to
> something like 644. is it possible, for just one group of users, to
> make their default permissions 664? (And yes, I know that this is
> a really bad idea.)

What you want to do is specify a folder for the users to store their
common files.  Then you create a group, put all the users in that group,
chgrp that folder to that group then 'chmod g+s' that folder.

This will create:

drwxrws---   1 owner   group        4096  Nov 10 09:45 Foldername

The "sticky bit" on directories causes every file created in that folder
to be of the same group the folder is.

This way each file will be owned by the last person that used it, but
all users of that group will have access.

Hope this works and I'm thinking straight this morning,

Greg Felix


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to