info-cvs
[Top][All Lists]
Advanced

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

Re: Restricting access to certain modules in a repository


From: Larry Jones
Subject: Re: Restricting access to certain modules in a repository
Date: Fri, 1 Mar 2002 13:47:30 -0500 (EST)

Schlitz writes:
> 
> I have a basic system 'cvsuser' user that is used in the passwd file as the
> system user name for all users.

Hmmm.

> Because the repository is on some kind of network-attached drive (which I
> have no knowledge of), there are (so the sysadmins tell me) complications
> that prevent us from using unix group permissions facilities to control
> access to the different modules in my repository.

Having the repository on a network file system is a very bad idea --
we've had lots of reports of repository corruption caused by subtle bugs
in network file systems.  I strongly suggest moving your repository to a
local disk, which would also avoid the problem with using group
permissions.

> Is there any way to control all access to some modules in a repository in
> this scenario?  I use scripts to control commit permissions by user name on
> a per-module basis, and do the same for tags, etc....is there a similar
> facility that can be used for checkouts, or some other technique?

You might be able to use the userid rather than groups, the key point
being that a user only has one userid whereas a user can belong to lots
of groups.  Other than that, I think you're stuck -- there's no script
that's guaranteed to be run during a checkout.

-Larry Jones

Physical education is what you learn from having your face in
someone's armpit right before lunch. -- Calvin



reply via email to

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