[cvsnt] cannot create read lock in repository '...': No suc h file or directory

David.Ventimiglia at WellsFargo.COM David.Ventimiglia at WellsFargo.COM
Mon Mar 17 15:37:55 GMT 2003


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.


Right, which is why I also granted "Full Control" to SYSTEM.

-----Original Message-----
From: Bo Berglund [mailto:Bo.Berglund at system3r.se]
Sent: Saturday, March 15, 2003 6:07 AM
To: David.Ventimiglia at WellsFargo.COM; CVS-NT Mailing list (E-mail)
Subject: RE: [cvsnt] cannot create read lock in repository '...': No
such file or directory


SYSTEM is *not* part of the group Everyone.....
/Bo

-----Original Message-----
From: David.Ventimiglia at WellsFargo.COM
[mailto:David.Ventimiglia at WellsFargo.COM]
Sent: den 14 mars 2003 22:30
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: RE: [cvsnt] cannot create read lock in repository '...': No
such file or directory


Thanks for the prompt and detailed response, Glen.  I have "impersonation"
turned on and made the permissions wide open on d:\cygwin\usr\local\cvsrepos
(Everyone = Full Control, System = Full Control) but it had no effect
unfortunately.  Of course I'm grateful for any help I receive in solving
this problem, but it's not critical so by no means am I asking anyone to
spend much time on it.  Just that, if the answer's obvious to someone, I'd
love to hear it.  Thanks!

Cheers,
David

-----Original Message-----
From: Glen Starrett [mailto:grstarrett at cox.net]
Sent: Friday, March 14, 2003 12:57 PM
To: David.Ventimiglia at WellsFargo.COM; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: RE: [cvsnt] cannot create read lock in repository '...': No
such file or directory


It's likely file permissions.  Assuming you have the CVSNT server service
running under the System user (default setting), you need to make sure that
SYSTEM has rights to those directories.  Similarly, you need to make sure
the users who are accessing the service have permissions in the directories.
I'll take a stab at summarizing what I've seen here, someone please correct
me where I'm wrong:

Account	Permission	Directory
CVS-Service	RW		cvsrepos\CVSROOT\* (+ subdirectories)
[ NT Authority\SYSTEM ]

CVS-User	RW		cvsrepos\CVSROOT\history
		RWCD		cvsrepos\MODULE\* (+ subdirectories)
[ jprogrammer ]

CVS-Reader	RW		cvsrepos\CVSROOT\history
		R		cvsrepos\MODULE\* (+ subdirectories)
[ pbrowser ]

Because you can change around the accounts, it gets confusing.

--CVS-Service account is the account CVSNT service is running under, SYSTEM
by default.

--CVS-User is the account a developer with RW permissions would be using.
In other words, Joe Programmer's jprogrammer account would need these
rights.  IF you have impersonation _disabled_ (not the default) then
whichever account you are using for the CVS-Service will need to be granted
these rights.

--CVS-Reader is the account of someone who you don't want to change, but do
want to allow them to update files.

Where {username} is the user account accessing CVSNT.

NOTE:  These permissions (I think!) are the minimum set, or close to that.
It's far easier to allow SYSTEM full access over everything--I don't know if
the CVS-Service has any other interaction as itself in the repository when
impersonation is on.

I also know there are "writer" and "reader" files, but I believe their use
varies based on which protocol you are using.

I hope this helps!

Glen Starrett

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of David.Ventimiglia at WellsFargo.COM
Sent: Friday, March 14, 2003 12:52 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] cannot create read lock in repository '...': No such
file or directory


Hello,

Trying to checkout a module (say, CVSROOT) from a repository managed by
cvsnt, I get this error:

cvs server:  cannot create read lock in repository
'D:/cygwin/usr/local/cvsrepos/CVSROOT': No such file or directory
cvs [server aborted]: read lock failed - giving up

This is with cvsnt running on Windows NT 4.0 Server service pack 6a.  Any
ideas why this is happening?  The directory listed above does actually
exist, of course.  Thanks!

Cheers,
David A. Ventimiglia

_______________________________________________
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
_______________________________________________
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