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:[EMAIL PROTECTED]         CollabNet ( http://collab.net )
--
If you can read this, please flip me back over... (seen upside down, on a Jeep)




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

Reply via email to