[cvsnt] Re: Permission denied (config)

Bo Berglund Bo.Berglund at system3r.se
Mon Mar 10 11:43:32 GMT 2003


Achim,
the problem you described did not seem to relate to anything that I had
experienced, hence no answer from me. It always worked OK when following the
step-by-step instructions and this case did not look any different.

But the fact that G: is a mapped drive completely ruins the system.
CVSNT cannot use mapped drives, period!
The reason is that a mapped drive is a property of the logged on user and
CVSNT runs as a service and as such does not have any mapped drives.
Furthermore CVSNT starts out its operations as the SYSTEM user and this user
does not have any permissions at all on the network, so It cannot access any
network resource at all.
Some people have managed to tweak CVSNT to use network drives as repositories
but than they have to manipulate the service account and give the account they
use instead of SYSTEM all kinds of esoteric permissions. Then they have to use
UNC paths to the repository too. Not recommended.
And to top it off the network repository introduces new problems:
- Permission problems again, now on a remote server
- Massive time delays, all file accesses now have to go over the network
- Repository corruption because the operating system does not have control of the files
- etc, the list goes on.....

/Bo

-----Original Message-----
From: keinespams at gmx.de [mailto:keinespams at gmx.de]
Sent: den 10 mars 2003 12:23
To: cvsnt at cvsnt.org
Subject: [cvsnt] Re: Permission denied (config) 


Hello!

after many sour hours I have solved a problem where nobody on this list
helped me. I do not know why, since otherwise I found this list extremely helpful
and people very willing to help (thanks Tony, thanks Bo, and thanks to all
the others).

The error message was:

cvs [passwd aborted]: unrecognized auth response from ALI: cvs server: E
cannot open G:/cvs/cvsrepo/TEST/CVSROOT/config: Permission denied

The solution to this error is so simple, it is utterly embarrassing:

The root drive for the repositiory must be a physical existing hard disk. In
my case, it was a mapped drive (G:). On the same computer though, but it was
mapped. The cvsnt service could somehow not resolve this path, thus it did
not find the neccessary files. When I changed the root drive, everything
worked fine for me. There was never a reason the map this directory anyway, I do
not why this was done.

Maybe this could make it into the installation guidelines? I doubt there are
as silly people as me out there, but one never knows...

Achim


> Hi,
>
> please HELP me! I have tried everything with our administrator, but we
could
> not get CVSNT running!
>
> The following was already discussed on the list, but unfortunately it did
> not help me. I already asked again, but nobody answered. I am desperate
for
> help!
>
> When I do the following I am getting an error message:
>
> C:\>set CVSROOT=:ntserver:ALI:/TEST
>
> C:\>cvs passwd -a haag
> cvs [passwd aborted]: unrecognized auth response from ALI: cvs server: E
> cannot open G:/cvs/cvsrepo/TEST/CVSROOT/config: Permission denied
>
> I have checked the directory tree on the server ALI: Both "System" and
> "Everyone" have full read/write access to all directories.
> The CVS repository is on a W2K-server in a domain. The CVSNT service is up
> and running.
> I am logged in as administrator on the server. However, user 'haag' (which
I
> want to add to the password list) does not have an account on the server
> ALI, but in the domain.
> I have followed Bo Berglunds installation instructions as closely as
> possible (as you can see from the "/TEST"...).
>
> What is wrong here? How can I check? At what stage in the CVSNT service
try
> to access the "config" file?
> 
> Thanks many many times for your help!
> 
> 
> Achim Haag
> mail: keinespams at gmx.de (this is not a spam address, it is an address to
> keep out spams!)

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt


More information about the cvsnt mailing list