[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with CVS checkout/update
From: |
Mark D. Baushke |
Subject: |
Re: Problem with CVS checkout/update |
Date: |
Mon, 16 Jun 2003 00:53:14 -0700 |
Marooned <marooned@graffiti.net> writes:
> Wonder if this is the right group.
>
> My problem is that we have a CVS repository on a linux machine and
> we use the ssh mode of authentication to access the repository.
> while setting up the respository we
>
> 1. created a user groups cvs, which had all the members who needed to
> access.
> 2. did : chgrp -R cvs <CVSROOT>
> 3. chmod ug+rwx . <CVSROOT>CVSROOT (as mentioned in the manual.)
> 4. all the umasks are set to 000.
Hmmm... That is kind of a dangerous umask you have there...
> However, still whenever some one adds a directory to the repository,
> subsequent
> checkouts/updates by other members result in following error :
>
> failed to create lock directory for `/opt/CP_IDS_CVSROOT/Docs/temp'
> (/opt/CP_IDS_CVSROOT/Docs/temp/#cvs.lock): Permission denied
Where $CVSROOT /opt/CP_IDS_CVSROOT and a user just created a new temp
directory under the Docs module? Is the group for temp the same as the
default group for the user that created it?
> What is the reason for this happening?
You may need to
find $CVSROOT -type d -print0 | xargs -0 chmod g+s
in order that newly created directories added to the cvs repository are
in group cvs.
-- Mark