delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/07/18:37:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-Id: <201004072237.o37MbMPR000370@mx1.cs.umb.edu>
To: cygwin AT cygwin DOT com
Subject: PLEASE TEST YOUR FS
In-Reply-To: <20100407172659.GH18530@calimero.vinschen.de>
Reply-To: rouilj AT ieee DOT org
ZReturn-Receipt-To: rouilj AT cs DOT umb DOT edu
ZDisposition-Notification-To: rouilj AT cs DOT umb DOT edu
Date: Wed, 07 Apr 2010 18:37:22 -0400
From: "John P. Rouillard" <rouilj AT cs DOT umb DOT edu>
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 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  "
> rm " foo "
rm: cannot remove ` foo ': No such file or directory
> touch foo.
> rm foo.
> touch " foo "
> ls -l " foo "
-rw-r--r-- 1 ???????? ???????? 0 Apr  7 18:23  foo 
> rm " foo "
> touch foo.
> ls -l foo.
-rw-r--r-- 1 ???????? ???????? 0 Apr  7 18:24 foo.
> rm foo.
> touch " foo "
> rm " foo "

> /usr/lib/csih/getVolInfo .
Device Type        : 7
Characteristics    : 10
Volume Name        : <common>
Serial Number      : 2951612753
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 2b
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : FALSE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : FALSE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : FALSE
  FILE_SUPPORTS_REPARSE_POINTS: FALSE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : FALSE
  FILE_SUPPORTS_ENCRYPTION    : FALSE
  FILE_NAMED_STREAMS          : FALSE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

Slightly wierd it failed initially and then started to
behave. Fileserver is a centos 5.24 box running:
samba-common-3.0.28-1.el5_2.1

Also one weird thing, not sure it's relevent but... I noticed if I
typo'ed the 'cd //fileserver/bad/path' and got a permission denied
error, it hung the bash shell. The cd didn't return to the prompt. In
one case at least it killed the bash shell.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

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