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: Schlitz
Subject: Re: Restricting access to certain modules in a repository
Date: Fri, 01 Mar 2002 19:04:10 GMT

Thanks Larry,  excellent answers as usual.
I will discuss further with the Tech ops folks ;)
And the userid suggestion will work no matter what happens...

George
"Larry Jones" <address@hidden> wrote in message
news:address@hidden
> 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]