[Top][All Lists]

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

Re: Problem with user group on linux cvs server

From: Nils Jakobson
Subject: Re: Problem with user group on linux cvs server
Date: Mon, 3 Feb 2003 18:16:26 +0200

Hello. Been there too ;)
I use group sticky bit on repository folders. I suppose the situation is
mine - you have split all your users into departments but some people need
to commit into several projects, and if they do, like add couple new folder
repository, then these folders are created with their primary uid-gid pair
some original project folks subsequently can not add new files there or
commit there. What you do:

if you now have wrong gid files under repository directory tree, do
chown to the original project group  (chgrp -R group ./yourproject), then
add sticky bit to _each_ folder recursively under the project directory
this command should take care of it (run it from repository base):
find ./yourproject -type d -exec chmod g+s {} \;

Lets see what the community says, maybe there are even better ways.

-Nils J

----- Original Message -----
From: <address@hidden>
To: <address@hidden>
Sent: Monday, February 03, 2003 5:17 PM
Subject: Problem with user group on linux cvs server

> Hello,
> I have CVS server 1.11.1 p1 with pserver.
> I have a problem when a user create a file (cvs add) in the conf : the
file get
> the default user group. Each user get a default group and a group for each
> projet. How can I configure CVS to permit user to create new file with the
> projet associated group instead of the user default group ?
> Thanks in advance
> Fabrice
> _______________________________________________
> Info-cvs mailing list
> address@hidden

reply via email to

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