delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/11/15:37:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Mark Schamberger" <mas AT labs DOT mot DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Re: file lock issue with cygwin 1.5.10-3, cvs 1.1.6-3
Date: Fri, 11 Jun 2004 14:36:55 -0500
Message-ID: <BGEOKBLDMJMLKJCHPEKOKEOHCHAA.mas@labs.mot.com>
MIME-Version: 1.0

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 AT labs DOT mot DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019