[cvsnt] 2.0.51: commitinfo username

Alexandre Augusto Drummond Barroso adrummond at bdmg.mg.gov.br
Tue Oct 5 00:21:37 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


I'm curious... What are your necessities above those already present on 
CVSNT ACLs (http://www.cvsnt.org/manual/Security.html - see "Setting 
permissions for files and directories" and "Groups of users can be 
assigned permissions")?

Regards,

Alexandre.

> -----Original Message-----
> From: cvsnt-bounces at cvsnt.org 
> [mailto:cvsnt-bounces at cvsnt.org]On Behalf
> Of Bo Berglund
> Sent: Monday, October 04, 2004 7:51 PM
> To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> Subject: Re: [cvsnt] 2.0.51: commitinfo username
> 
> 
> On Mon, 4 Oct 2004 18:01:54 +0100, "James Kavanagh"
> <james.kavanagh at voxsurf.com> wrote:
> 
> >Hi,
> >
> >I'm attempting to write a small Java application which 
> performs a similar
> >function to the cvs_acls.pl script which has been widely distributed.
> >Essentially I want to prevent some users from committing 
> files to a release
> >branch.
> >I've got past the hurdles of retrieving the filenames etc. 
> but I cannot seem
> >to obtain the user from anywhere. Calls to 
> System.getProperty("user.name")
> >come back with "SYSTEM" which is the user that the CVSNT 
> service is running
> >under.
> >
> >1. Can anyone help on this front? Has anyone done this before or am I
> >wasting my time :(
> >or..
> 
> If you add a $USER parameter to the call line in the commitinfo script
> then your script execution will get the commit user as the specified
> command line parameter and you can easily parse it out from there.
> The $USER is NOT an environment variable, it is detected by CVSNT and
> gets replaced by the proper value when your script is called by CVS.
> 
> HTH
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook