This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: file lock issue with cygwin 1.5.10-3, cvs 1.1.6-3


Corinna,

	Thanks for looking into this.  In my case, there is nothing funny with
permissions and also the CYGWIN envar is unset.  If I cd to my $CVSROOT
directory, I can create files and directories, and also within
subdirectories under $CVSROOT.  Also, the permissions seem okay under
1.5.9-1 (no complaints from cvs).  The $CVSROOT root directory is from a
file server mounted as CIFS under Windows.  Are you referring to remote CVS
repositories with your SSH comment?

Thanks, Mark

##################################
On Jun  1 07:50, Mark Schamberger wrote:
> I have the latest and greatest Cygwin packages installed on two different
> machines and noticed the following problem on both using CVS:
>
> CVS fails to create a read lock when trying to check out or update from a
> repository on the local network.  If I revert to cygwin 1.5.9-1, CVS again
> works correctly.  Maybe this a file lock issue with the latest cygwin, or
> perhaps CVS needs rebuilt for the new DLL?  Also, there is nothing funny
> with permissions and the CYGWIN envar is currently unset.
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> $ export CVSROOT=/cygdrive/G/code
> $ cvs co www
> cvs checkout: Updating www
> cvs checkout: cannot create read lock in repository
`/cygdrive/G/code/www':
> No such file or directory
> cvs [checkout aborted]: read lock failed - giving up
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I just tried that and I'm only able to reproduce it if the $CVSROOT/www
directory is read-only.  In this case it fails for me in 1.5.10 *and*
in 1.5.9, so I don't see a difference... except when logged in via
OpenSSH using public key authentication.  In that case I'm able to
checkout the directory under 1.5.9 but not under 1.5.10.  AFAICS, the
behaviour under 1.5.10 is "right"(tm).  Does the description match
your situation?


Corinna


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mark Schamberger
Motorola Labs MTRL
mailto:mas@labs.mot.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]