[Top][All Lists]

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

Re: file permissions when adding directories via pserver

From: Dave Sherohman
Subject: Re: file permissions when adding directories via pserver
Date: Wed, 20 Dec 2000 17:30:25 -0600
User-agent: Mutt/1.2.5i

On Wed, Dec 20, 2000 at 03:13:55PM -0500, Matt Munz wrote:
>     I am currently having the problem that one user cannot check out a 
> directory made by another, due to conflicting permissions.  After pouring 
> over the CVS manual(s) with little success, I thought I'd see if any of you 
> could help.

Make the root directory of the CVS repository owned by group 'cvs',
group-writable, and sgid.  Make all your CVS users members of the cvs group.
Like so:

drwxrwsr-x  46 root     cvs          4096 Dec 20 16:19 cvs/

The important part is that the repository's root directory must be sgid.
This will cause all files and directories created within it to inherit the
same groups settings (owned by group cvs, group-writable, and sgid).  Any
user in the cvs group will then be able to modify files in the repository.

The Shortest Windows Manual:  "Turn off the power switch."
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r y+

reply via email to

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