delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/23/08:58:40

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 23 Jul 2004 08:58:32 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Gervase Markham <gerv AT gerv DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: cvs package bug: cannot open val-tags file
In-Reply-To: <4100C334.60705@gerv.net>
Message-ID: <Pine.GSO.4.58.0407230849230.29341@slinky.cs.nyu.edu>
References: <4100C334 DOT 60705 AT gerv DOT net>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 23 Jul 2004, Gervase Markham wrote:

> [Apologies if this is the wrong place for this bug report - cvshome.org
> is so impenetrable that I can't even search to see if this is an
> upstream cvs bug or not.]
>
> In Cygwin CVS 1.11.6-3 (but not 1.11.5-1 or 1.11.0-1), when trying to
> pull by tag, the following error is encountered:
>
> D:\mozilla>cvs -d //machine/share co -P -r NSPRPUB_PRE_4_2_CLIENT_BRANCH
> mozilla/nsprpub
> cvs checkout: warning: cannot open //machine/share/CVSROOT/val-tags
> read/write
> cvs [checkout aborted]: cannot read //machine/share/CVSROOT/val-tags
>
> Many other CVS operations (checkout, checkin, update) seem to work fine
> - it's only pulling by tag which fails.
>
> The repository in question is a copy of the Mozilla CVS repository,
> rsynced to a Win2K machine using Cygwin rsync and then SMB shared as
> readable and writable by all.
>
> The client machines we tried this on were running Win2K or Win2K3.
> CVSROOT was "//machine/sharepoint" when we didn't specify it on the
> command line. CYGWIN was set to "nontsec". The machine can cat and touch
> the val-tags file on the share - it seems that only the CVS process
> cannot see it correctly.
>
> We solved the issue by downgrading CVS to 1.11.5-1 using the Cygwin
> setup.exe, so the problem is not urgent for us.
>
> If more information is required, please ask. I'm subscribed to the
> digest version of the list, so it may take a day or two to get a response.
>
> Many thanks for your time,
> Gerv

Gerv,

I wonder if it's related to CVS's inability to remove lock directories
from some SMB shares, which I reported back in 2003...  That seems to be
hard to track, because different SMB shares have subtly different access
settings.  In any case, first try adding "nosmbntsec" to your $CYGWIN, and
see if it helps.  I also found that, when using Samba from AIX (don't know
about Linux/Windows), it helps to add the group that owns the repository
to /etc/group, and add the Cygwin user to that group.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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