[Top][All Lists]

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

restricting access

From: Sean Gillings
Subject: restricting access
Date: Fri, 14 Sep 2001 10:33:07 +0200


I'm trying to setup the 'commitinfo' file to restrict access to the cvs
config files in CVSROOT. Using similar syntax to that shown in the 'notify'
file I tried to use %s to check the user attempting to commit, eg

CVSROOT echo %s | grep cvsadmin > /dev/null 2>&1
------- ----------------------------------------
   |                     |
   |                     |
   |           command to invoke (returns 0 or 1)
regexp (to match path to CVSROOT which is /usr/home/cvsroot/CVSROOT/CVSROOT
        on remote cvs server)

I also tried using echo $LOGNAME but that isn't setup in the cvs environment
so it failed. Please can you respond with an example file which will let me
restrict access to certain modules at the user level. The manual on-line
doesn't  have examples as far as I can tell. I didn't want to use operating
system level controls (eg chmod/chown etc) as this could interfere with
normal cvs working (as the manual hinted).

Please help.

Sean Gillings
Senior Consultant (EMEA), Syndesis Ltd
Mobile: +44 (0)7876 244428
Email: address@hidden

reply via email to

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