info-cvs
[Top][All Lists]
Advanced

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

Re: Problem with cvs_acls script?


From: Mark D. Baushke
Subject: Re: Problem with cvs_acls script?
Date: Tue, 01 Feb 2005 15:29:11 -0800

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

Captain Tantric <address@hidden> writes:

> This could be something I've done wrong, but am at a loss as to figure
> out a way around it. I'm running cvs 1.12.11 on Linux and have
> recently added the cvs_acls script to my commitinfo file. The cvs_acls
> script works properly, the problem appears to be the way it is invoked
> by the line in my commitinfo, which is entered as described in the
> documentation for cvs_acls.
> 
> ALL $CVSROOT/CVSROOT/cvs_acls -u $USER -f /var/log/cvscommit.restricted
> 
> When I attempt to commit a restricted file, I get stopped by the
> cvs_acls script, but I also get the following warning...
> 
> address@hidden CVSROOT]$ cvs commit -m "Test commit" modules
> cvs commit: warning: commitinfo line contains no format strings:
>     "/cvsroot/CVSROOT/cvs_acls -u dmills -f /var/log/cvscommit.restricted"
> Appending defaults (" %r/%p %s"), but please be aware that this usage is
> deprecated.
> **** Access denied: Insufficient authority for user: 'dmills' to
> commit to 'CVSROOT'.
> **** Contact the CVS Administrator if you think you require update
> access to these directories or files.
> **** File(s)/dir(s) restricted were:
>         CVSROOT/modules
> cvs commit: Pre-commit check failed
> cvs [commit aborted]: correct above errors first!
> 
> While not fatal, they are distracting and I'd like to get rid of them
> if at all possible. Simply adding the parameters it speaks of does not
> work and in fact breaks the cvs_acls script. Any and all suggestions
> welcome, TIA!

You may find doing something that enables the use of the new format
strings to be desirable...

cvs checkout CVSROOT
echo 'UseNewInfoFmtStrings=yes' >> CVSROOT/config
cvs commit CVSROOT/config


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

iD8DBQFCABDH3x41pRYZE/gRAut/AJ4+7ruX/YrME2AQ1RWKHFugcTKdVgCguifn
ZVZFSVhpCgmXx9TTFVQoAhs=
=x9Mk
-----END PGP SIGNATURE-----




reply via email to

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