delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 19 Mar 2010 11:22:48 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cannot create files with trailing dots on network share |
Message-ID: | <20100319102248.GJ6505@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4BA2B127 DOT 4080308 AT emc DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4BA2B127.4080308@emc.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
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 Mar 18 19:03, Douglas Seay wrote: > I?ve had some problems, and it looks like it boils down to handling > . (dot) characters. I created a little script to create some files > with dots in various places. This script works fine in my $HOME > directory (C:\cygwin\home\SEAYD). The name is wrong when the last > character of the filename is a dot and subdir is on a network share > (H: in this case). The rest of the file operations seem to work > because when I cat them, you can see the file name inside the body > (yes, I left of the \n). > > Is there a known work around for this? > > >/cygdrive/h/foo> ./fubar > >mkdir subdir > >create subdir/none > >create subdir/in.middle > >create subdir/.before > >create subdir/after. > >create subdir/.every.where. > >finished successfully > > >/cygdrive/h/foo> ls -al subdir > >total 5120 > >drwxr-xr-x+ 1 ???????? ???????? 0 2010-03-18 18:31 . > >drwxrwxrwx 7 ???????? ???????? 0 2010-03-18 18:31 .. > >-rwxr--r-- 1 ???????? ???????? 7 2010-03-18 18:31 .before > >-rwxr--r-- 1 ???????? ???????? 6 2010-03-18 18:31 ARO60A~X > >-rwxr--r-- 1 ???????? ???????? 13 2010-03-18 18:31 _IQDF8~T > >-rwxr--r-- 1 ???????? ???????? 9 2010-03-18 18:31 in.middle > >-rwxr--r-- 1 ???????? ???????? 4 2010-03-18 18:31 none > > >/cygdrive/h/foo> cat subdir/ARO60A~X > >after./cygdrive/h/foo> cat subdir/_IQDF8~T > >.every.where./cygdrive/h/foo> I assume H: is a Samba share? It's a feature of Samba to massage filenames which can't be read or created by Win32 clients, and according to Win32 filename rules, trailing dots and spaces are not allowed in filenames. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |