Hi,

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: [EMAIL PROTECTED]

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to