info-cvs
[Top][All Lists]
Advanced

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

Re: Adding files and user rights


From: Greg A. Woods
Subject: Re: Adding files and user rights
Date: Wed, 25 Jul 2001 20:22:01 -0400 (EDT)

[ On Thursday, July 26, 2001 at 01:10:50 (+0200), Michal Kostrzewa wrote: ]
> Subject: Adding files and user rights
>
> Of course there are solutions: users can do newgroup or sg to project, or I 
> can change the user primary group to "project". But all of the above 
> solutions are unsatisfactory - there is always a possibility to force an 
> invalid group (on purpose, or by accident). Things are more complicated, 
> becouse we want to use repository by :ext: method, so it's not possible to 
> manually set the proper group - need to change .bashrc or something...

The best way to automate this depends on what platform your server is
running on.  Perhaps it's as simple as running "chmod -R g+s $CVSROOT"
On some platforms you have to first make sure the filesystem is mounted
with the correct options in order to allow this to work.

Though no matter what you do you'll have to always manually ensure the
top-level directories for each project are owned by the appropriate
group.....


-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <address@hidden>     <address@hidden>
Planix, Inc. <address@hidden>;   Secrets of the Weird <address@hidden>



reply via email to

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