[cvsnt] loginfo say User SYSTEM cannot access

Bo Berglund bo.berglund at telia.com
Fri Dec 5 06:24:49 GMT 2003


On Fri, 05 Dec 2003 09:58:30 +0800, Avenger <avenger at php.net> wrote:

>Hey.all
>
>I'm a PHP programer.i wanta use the php rewrite the loginfo process
>script.the complete script by PHP is attach the mail.
>In my loginfo file,the script line is:
>
>>> DEFAULT c:/php/php.exe -q E:/Test/cvsloginfo/cvs.php %{sVv} $USER
>
>But when i run this,there have a problem. when i run the script at the
>server on the local CVS mode,it' works no any error for me.when i use
>the remote pserver CVS mode at another computer.it's return the below
>error:
>
>>> cvs rdiff: User SYSTEM cannot access E:/cvsroot/<modules>

If E: is a network drive then it will not work. SYSTEM has no
permissions outside the CVSNT server PC and the drive mappings are not
visible to SYSTEM either.


>I don't know where am i wrong.. and what's the SYSTEM user??

SYSTEM is the operating system on the PC running CVSNT. When services
run they are executed by this account and it can only handle local
resources on the PC itself. SYSTEM is *not* part of the Everyone
group.

>Well, now i changed the mode to localhost pserver mode on the cvsnt
>server.it returns:
>
>>> C:\cvs.exe -d :pserver:administrator at localhost:/cvsroot -qn rdiff -r 1.57 -r 1.58 -u Test/robots.txt
>>> cvs [rdiff aborted]: the :pserver: access method is not installed on this system

You have not installed pserver then. That is a separate dll.

>
>The cmd line in my PHP script to process the cvs diff is
>
>>> cvs -qn rdiff -r %s %s -u <file>
>
>And the path  NT access for E:/cvsroot/  for my module is "Everyone"

Everyone does not include SYSTEM. You must give explicit permissions
to SYSTEM. And you cannot do this on network drives...



/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list