On Thu, Oct 16, 2003 at 11:17:30AM +0200, Ron Rademaker wrote: > I got bunch of directories, each owned by a different group. Some users > can only access (if I say access I mean rwx) one directory (so are only > in 1 group), others are in more groups. Now if a user with default group > foo creates any new files in a directory of group bar I want the files > he or she created to be owned by group bar... Not by group foo. Most of > the users barely know how to use ftp... So learning them how to user > chown or sg is out of the question. Any ideas?
Make the directory setgid to the group in question, i.e. 'chmod g+s directory'. This is a good idea for directories in which shared work is to take place. Cheers, -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]