delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/19:34:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BBD1675.5010200@lysator.liu.se>
Date: Thu, 08 Apr 2010 01:34:13 +0200
From: Peter Rosin <peda AT lysator DOT liu DOT se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: PLEASE TEST YOUR FS
References: <201004072237 DOT o37MbMPR000370 AT mx1 DOT cs DOT umb DOT edu>
In-Reply-To: <201004072237.o37MbMPR000370@mx1.cs.umb.edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Den 2010-04-08 00:37 skrev John P. Rouillard:
> On Wed, 7 Apr 2010 19:27:00 +0200 Corinna Vinschen asked:
>> Can anybody reproduce this problem with trailing dots and spaces in
>> filenames on other filesytems than netapp?
>>
>> It would be quite helpful to get feedback from people using filesystems
>> which are recognized by Cygwin as nwfs, unixfs, mvfs, or cifs.
>>
>> For testing, try to create *in Cygwin* a file called "foo." and a file
>> " foo ".  If it works, and if a following `ls' and `rm' on the file
>> works as well, everything's fine.  If some error occurs, especially "No
>> such file or directory", then that filesystem probably requires special
>> handling just like netapp.
>
> Well it sort of worked.
>
> cd'ed to //fileserver/common/group/sysops
>
>> touch foo
>> rm foo
>> touch " foo  "

Two spaces before the end-quote here...

>> rm " foo "

...but only one here, which...

> rm: cannot remove ` foo ': No such file or directory

*snip*

> Slightly wierd it failed initially and then started to
> behave.

...explains this.

Cheers,
Peter

-- 
They are in the crowd with the answer before the question.
 > Why do you dislike Jeopardy?

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