Operating System - HP-UX
1832566 Members
6021 Online
110043 Solutions
New Discussion

Re: CVS and group permissions

 
Rodan
Occasional Contributor

CVS and group permissions

Hello, on our DEV box ( k360 hp-ux 11.0) we are using (CVS) 1.11.22.We have several developers belonging to different groups yet working on the same projects.The problem is , when one of them opens and saves a project they block the other developers from re-opening that project.
Is there a simple solution to this.

Thanks
2 REPLIES 2
Christian Tremblay
Trusted Contributor

Re: CVS and group permissions

you need to set the set-group-ID-on-execution bit on the repository directories (see chmod(1)) so that newly-created files and directories get the group-ID of the parent directory rather than that of the current process.)

Chris
Wouter Jagers
Honored Contributor

Re: CVS and group permissions

If you mean they are permanently changing the file ownerships, try setting the setgroupid on the directory using chmod 02xxx, xxx being your 'regular' permissions (for example 'chmod 02755 /cvsroot/stuff').

If you mean other developers can't open the project while someone is actually running a cvs command, that's normal. As far as I know, when someone is performing an update (saving a project), other developers cannot read or write while that is happening. An error like 'waiting for john's lock in /cvsroot/stuff' should get logged somewhere, and cvs should retry automatically in 30 secs or something.

hope that helps,
cheers
an engineer's aim in a discussion is not to persuade, but to clarify.