[Top][All Lists]

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

Re: restrict commits of single file

From: Todd Denniston
Subject: Re: restrict commits of single file
Date: Tue, 09 Oct 2007 09:01:29 -0500
User-agent: Thunderbird (X11/20070728)

Michael Niegl wrote, On 10/08/2007 05:00 PM:
Hello Arthur,

On Oct 8, 2007, at 10:38 PM, Arthur Barrett wrote:


committable. So I tried to put into the commitavail file
avail | <username>
unavail | <username> | <file_incl_full_path>

Is this a part of cvsacls or is it some other patch, I've seen the odd
reference to it but I'm not sure.  I usually use CVSNT on linux which
has inbuilt ACLs but this appears to be something else...

No, it's neither CVSNT nor cvsacl, it's the "standard" CVS version 1.12.13 running on on Red Hat 7.3. I'm not sure about the exact details of the server side as it is centrally hosted on a cluster and AFS and i do not have administrative rights there, except for the project that I'm responsible for.


Sadly, there is no precommit in CVS, at least not in the version we're using.

Yes/No, I think you are using a commit trigger script (, which is ran before the commit gets to change the repository, If I Recall Correctly that makes it a pre-commit script.

A little googleing is kind of interesting...
commitavail seems to be referenced most of the time at *
poking around with Google revels a copy of commitavail[1].

Which starts out with:
"...See $CVSROOT/CVSROOT/ for  details."

so apparently commitavail is a configuration file for one of the versions of[2][3], and from a little visual comparison the version up at [2]] is from at or before rev 1.3[4] from Feb 1997. If that is the version you are still using[6] you may find the best help within some lists at[5]

Good luck. :)






[6] look in _YOUR_ projects $CVSROOT/CVSROOT/commitinfo file and read the cvs_acls.pls that it references.

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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