Dennis Jones writes:
> 
> I have a group called "cvs" of which all users of the cvs repository are
> members.  If one of those users creates a new directory and adds it to the
> repository, cvs identifies the new directory's owner and group name with
> that specific user (and as you know, this also happens with files).

You don't say what platform this is, but it's apparently not a
BSD-derived system.  :-)  On many hybrid systems, setting the
set-group-id bit on a directory causes newly-created files and
subdirectories to inherit the parent directory's group instead of the
user's group (which is what BSD filesystems always do).  Check the man
page for mkdir(2) and/or open(2) to see if your system supports this. 
If so, set the SGID bit on all the repository directories and your
problem is solved.

-Larry Jones

I've got PLENTY of common sense!  I just choose to ignore it. -- Calvin

Reply via email to