Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00ce01c2f3e2$531cccb0$0b01a8c0@w2k30g> From: "David Christensen" To: , "Lu Fang" References: Subject: Re: file permissions Date: Wed, 26 Mar 2003 11:17:57 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 cygwin AT cygwin DOT com: Lu Fang wrote on March 26, 2003 8:57 AM: > ... CVS with cygwin ... I want to specify the files permissions for > different group of users. I have a similar need for a CVS security model that allows me to control which users can access which CVS projects. My solution was to create multiple repositories (/cvs/r030325a, /cvs/r030325b, etc.), each owned by a different user.group (r030325a.r030325a, r030325b.r030325b, respectively, etc.). I then add/remove users from a given repository group to control who can access that repository. I created a Perl script "dvs" to automate/simplify the scheme: root AT r7310g:~$ dvs Usage: dvs [options] Options: --debug, -d Generate debug messages --debug_file=FILE Append debug messages to FILE --debug_level=LEVEL Set the debug message level to LEVEL --help, -h, -? Print a brief help message and exit (1) --initialize Initialize CVS root directory --repadd REPOS Create a repository --repdel REPOS Delete a repository --useradd USER REPOS... Add user to listed repositories --userdel USER REPOS... Remove user from listed repositories --test Run regression test The Perl script is available on my home page: http://www.holgerdanske.com/dpchrist/ My CVS server is RH7.3. I don't know if my idea or the Perl script will work on Cygwin. HTH, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/