info-cvs
[Top][All Lists]
Advanced

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

Re: About access control.(use cvs_acls)


From: Mark D. Baushke
Subject: Re: About access control.(use cvs_acls)
Date: Tue, 06 Dec 2005 02:20:58 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

xiangbin <address@hidden> writes:

> I use the perl script "cvs_acls"(in cvs source release contrib/) to control
> the access for special user and it works fine .
> Now I need to control the access for add && destory.One  may only has add
> access and no destroy access.
> Anyone knows how can I achieve this?
> 
> Also,when I use cvs_acls script for access control,every time when I do
> "commit",it gives me this warnings:
> -----------------------------------------------------------------------
> cvs commit: warning: commitinfo line contains no format strings:
>     "/usr/local/cvsrep/CVSROOT/commit_prep"
> Appending defaults (" %r/%p %s"), but please be aware that this usage is
> deprecated.
> cvs commit: warning: commitinfo line contains no format strings:
>     "/usr/local/cvsrep/CVSROOT/cvs_acls  -u xiangbin "
> Appending defaults (" %r/%p %s"), but please be aware that this usage is
> deprecated.
> ----------------------------------------------------------------
> I really do not want to see this.If there is some way to swith this warning
> off ?

Alter your CVSROOT/commitinfo to use the %r/%p %s formats that are being
appended like this:

  /usr/local/cvsrep/CVSROOT/commit_prep %r/%p %s

  /usr/local/cvsrep/CVSROOT/cvs_acls  -u xiangbin %r/%p %s

and also insert the following line

  UseNewInfoFmtStrings=yes

into your CVSROOT/config file.

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDlWYKCg7APGsDnFERAs4ZAKCFfYO/vHBqXN+NsLx16nr4EOAVBgCgvBmx
5MRORSGPpkaJS46ddHhGc80=
=/8YY
-----END PGP SIGNATURE-----




reply via email to

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