info-cvs
[Top][All Lists]
Advanced

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

Re: Permissions of repository


From: Noel Yap
Subject: Re: Permissions of repository
Date: Wed, 20 Feb 2002 08:00:42 -0800 (PST)

--- Santosh Cheler <address@hidden> wrote:
> 
> ----- Original Message ----- 
> From: "anamika mathur"
> <address@hidden>
> > Dear Friends,
> > 
> >               Is it possible to have read/write
> access
> > to specific files and directories in the
> repository
> > using CVS for various users?I have a requirement
> that
> > certain directories should be writable by user A
> but
> > user A should have only read access for remaining
> > directories in the repository.
> 
> 
> The concept of groups is underused in unix. It is
> exactly what you are looking for. Create two groups
> grp1 and grp2. Put user A in grp1, but not in grp2.
> chgrp and chmod your files on the server
> accordingly.

They'll also need to set LockDir in CVSROOT/config.

Basically:

1. everyone needs read access to those files and
directories whose files they need to be able to
checkout.
2. everyone needs write access to those directories
whose files they need to be able to checkin.

You may also want to look into using POSIX ACLs (man
setfacl for more info).

Noel

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



reply via email to

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