Greetings!
I was quite excited by LockDirs, since this means I can define multiple Unix
groups on my CVS server, and one group can set up a module to be readable by
everyone, but only commitable by themselves.
I got everything working just nicely, but I ran into a bit of an
administration headache. I was hoping to be able to add users to appropriate
groups in /etc/group so that a user could be part of more than one group, but
it turns out the only way I can a user to have write-access to a protected
module is if /etc/passwd lists the owning group as that user's primary group.
For reasons you don't want to hear, I can't rely on updating /etc/passwd. I
was hoping to do this:
/etc/passwd:
user1:PASSWORD:UID:group1:...
user2:PASSWORD:UID:group1:...
/etc/group
group1::GID:user1,user2...
group2::GID:user2
When I simply added "user2" to "group1" in /etc/group and did a commit, I get
this error message:
cvs [server aborted]: could not open lock file '/repos/cm/hal/,filename,':
Permission denied
which is weird, since the LockDirs are in /lockdirs/cm/hal...
I'm using CVS 1.10.8 in pserver mode.
Does anyone have any suggestions on how to do this? Or have I lost it? ;)
:)hal mahaffey