delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/04/10:42:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 4 Oct 2011 16:41:40 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Writing to Windows Share issues fixed in cygwin1-20110829.dll.bz2
Message-ID: <20111004144140.GB15757@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAFWoy7HmMtP6BW6iJbP3d3y0=JFSmcdF9i8PSQRw4QtG0kc7UA AT mail DOT gmail DOT com> <CAFWoy7H+guBan6ZHAvC2BHxXOpUod6sP6B4LTDfmQiFV68y1_A AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAFWoy7H+guBan6ZHAvC2BHxXOpUod6sP6B4LTDfmQiFV68y1_A@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Sep 16 11:17, Keith Christian wrote:
> I was wrong.
> 
> Only some improvement using the cygwin1-20110829.dll.bz2 snapshot.
> Problems still exist when trying to check in a file with RCS on this
> Windows share.
> 
> Annotated test example below.  Apologies for not being brief.
> 
> Any ideas appreciated.  However, progress has been made with the 0829
> snapshot, at least I can create files on this share......
> [...]
> # 11 - Comments:  Check testfile.1 into RCS - first indication of
> problems.  Unable to use the "testfile.1" name with a ",v" appended to
> it:
> 
>     Fri Sep 16 10:31:35 (kchristian AT laptop-pc)
> /cygdrive/z/foo/bar/baz>ci -l -m"Attempted check in using 20110829
> Cygwin snapshot" -t-"Testing new cygwin snapshot to see if it fixes
> Windows Share writing difficulties" ./testfile.1
>     ./RCS/testfile.1,v  <--  ./testfile.1
>     initial revision: 1.1
>     ci: ./RCS/testfile.1,v: Permission denied
>     ci: saved in ./RCS/_0qrsNBd

That's weird.  The fact that you can create and write the _0qrsNBd
file shows that the write permission issue is fixed.  It seems that
renaming the file to testfile.1,v fails, but it's not clear why this
should happen.

What kind of share is that (/usr/lib/csih/getVolInfo /cygdrive/z)?

Does manual renaming the _0qrsNBd file work?

Does deleteing the _0qrsNBd file work?

Can you reproduce this situation from scratch and call the ci
command under strace, like this

  strace -o ci.trace ci -l -mfoo ./testfile.1

and send the strace output here?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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