Timothy Falconer wrote:

> 
> I want the following repository structure, with associated access:
> 
> /home/cvs/www/common (everyone)
> /home/cvs/www/tools (developers)
> /home/cvs/www/clientA (developers & clientA)
> /home/cvs/www/clientB (developers & clientB)
> /home/cvs/www/clientC (developers & clientC)

cd /home/cvs/www/clientA ; find . -type d -exec chgrp clientA {} \; -exec chmod g+s {} 
\;
cd /home/cvs/www/clientB ; find . -type d -exec chgrp clientB {} \; -exec chmod g+s {} 
\;
cd /home/cvs/www/clientC ; find . -type d -exec chgrp clientC {} \; -exec chmod g+s {} 
\;

I find this especially important for cvsweb's CVSROOT/Emptydir for the annotate 
command.

Larry Jones wrote:
> 
> BSD Unix filesystems always create files with the group set to the group
> of the containing directory, which is sufficient to avoid your problem.

Linux, AFAIK, uses the user/group of the guy creating the file/dir unless overridden
with ug+s .

> You don't say what platform you're using, 

He said Linux.

but it must not be BSD-based.
> :-)  Check your system documentation 

man chmod
Disciples of RMS will type 
info chmod

-- 
dik        _,--"
           `-._        ________-_______        "----
       _----'--'--------------------------------'--'----_
      //_| | \        [EMAIL PROTECTED]          / | |_\\
     (_____|_|__= Guilford CT +1.203.458.0389  =__|_|_____)
     _\_____=___   http://www.buckosoft.com     ___=_____/_
       \/-(o)-~~-(o)-~~-(o)-`------'-(o)-~~-(o)-~~-(o)-\/
Early Net Poetry:
Wustl, Wustl, ERR RIP MIT BOOT, BIND Wustl

Reply via email to