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]


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


Slightly wierd it failed initially and then started to

...explains this.


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

Problem reports:
Unsubscribe info:

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