info-cvs
[Top][All Lists]
Advanced

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

Re: 'cvs add' ownership problems


From: Larry Jones
Subject: Re: 'cvs add' ownership problems
Date: Tue, 1 May 2001 11:54:02 -0400 (EDT)

address@hidden writes:
> 
> I just built cvs on my Linux box.  I set up a repository called 'fs' 
> and set the owner to root and the group to 'fsdev'.  I have a list of 
> users who belong to the 'fsdev' group who should be able to add, 
> commit, etc... However, when I tried to add the first directory to 
> the repository as user 'tvolkert', it made me owner of that directory 
> (user 'tvolkert', group 'tvolkert').  That being the case, no other 
> users could run a 'cvs checkout fs' because they had no permissions 
> on that dir.

You need to set the SGID bit (chmod g+s) on the repository directories
-- that causes the kernel to use BSD semantics when creating directories
which means that the group of a new directory will be set to the group
of its parent directory rather than the group of the user creating it.

-Larry Jones

I wonder if I can grow fangs when my baby teeth fall out. -- Calvin



reply via email to

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