info-cvs
[Top][All Lists]
Advanced

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

RE: CVS and access rights


From: Noel Yap
Subject: RE: CVS and access rights
Date: Thu, 6 Jun 2002 06:34:54 -0700 (PDT)

--- Vijay Narayanan <address@hidden> wrote:
> I solved the permission problem by round about way
> creating unix groups for
> each project and physically going to each folder and
> assigning rights to
> that group alone. Working fine xcept that each
> folder has to be individually
> given permissions, which is a pain.

If you're on Unix (or using Cygwin (maybe)), you can
do:
cd $CVSROOT
find module1 -type d | while read d
do
    chgrp group1
    chmod ug+rwx,o-w
done

File owners/permissions can be set by using "-type f".
 You'll have to be root or owner of the directory/file
to do the chgrp.

The above will limit your visits to the modules only
rather than all the directories.

Noel


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



reply via email to

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