info-cvs
[Top][All Lists]
Advanced

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

Re: cvs_acls and Avail


From: Derek R. Price
Subject: Re: cvs_acls and Avail
Date: Thu, 24 May 2001 13:15:45 -0400

Anita Chacko wrote:

> Hi
>
> Has anyone tried the cvs_acls/avail combination?
> I don't seem to be able to make it work.Will this work
> only if the script is in the /usr/local/bin/cvs_acls
> location?
> I have one more line
> ALL $CVSROOT/CVSROOT/commit_prep2 -r
> in my commitinfo,but a/c to the manual,it will be
> executed in *addition* to the DEFAULT line,which I
> gave as
> DEFAULT /home/anitac/cvs_acls
> The cvs_acls is just not doing anything even if I gave
>
> unavail | anitac |/test/rep1
> It still is allowing me to commit.I have put the avail
> file in $CVSROOT/CVSROOT as said.Can anyone help?

Firstly, the DEFAULT line is only executed if there weren't any other
matches besides "ALL".

Try putting "/bin/false" in as the application on the DEFAULT line
instead and see if the line is being exec'd at all.

If the DEFAULT line is being executed properly you might want to try
passing some sample CVS generated command lines to your acl script and
trace the script to see what it does with them.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden         CollabNet ( http://collab.net )
--
If you can read this, please flip me back over... (seen upside down, on a Jeep)






reply via email to

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