info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS LockDir Help


From: Derek R. Price
Subject: Re: CVS LockDir Help
Date: Fri, 01 Jun 2001 14:13:01 -0400

Donald Sharp wrote:

> On Thu, May 31, 2001 at 08:28:24PM +0600, William Asquith wrote:
> > Sorry to kept this up.  The "" removal might
> > have made the difference.  It is now
> > apparently working for 'junkcvs', but checkout is not working for
> > 'fortworth'.  Here is CVSROOT (should permissions be stricter for
> > users?):
> >
> > address@hidden txdotcvs]$ ls -l
> > total 16
> > drwxrwxr-x    3 asquith  cvsadmin     4096 May 31 15:05 CVSROOT
> > drwxr-xr-x    3 asquith  txdotcvs     4096 May 31 15:06 cvslocks
>
> The group txdotcvs doesn't have write permission in the cvslocks directory.

The usual UNIXy thing to do to support multiple users/groups using the same
lockdir is to set the sticky gid bit on the lockdir.  This enables BSD style
directory permission inheritance on many *nices.  That's uysually accomplished
through something like 'chmod g+s <lockdir>'

Of course if both users already have the same default group then you won't
need to do this.  Just set the group write permissions as Donald pointed out.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
--
I will not sleep through my education.
I will not sleep through my education.
I will not sleep through my education...

          - Bart Simpson on chalkboard, _The Simpsons_






reply via email to

[Prev in Thread] Current Thread [Next in Thread]