X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "jpa" Subject: Re: Long file names not working in cygwin-1.7.0-48 Date: Fri, 29 May 2009 09:39:23 -0700 Lines: 316 Message-ID: References: <20090520135009 DOT 5D9C3BD0 AT resin18 DOT mta DOT everyone DOT net> <4A1DA33D DOT 1080406 AT cygwin DOT com> <20090528051242 DOT GA13874 AT ednor DOT casa DOT cgf DOT cx> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "Christopher Faylor" wrote in message news:20090528051242 DOT GA13874 AT ednor DOT casa DOT cgf DOT cx... > On Wed, May 27, 2009 at 05:11:55PM -0700, jpa wrote: >># Create long directory path fails (255 a's/255 b's >>mkdir -p >>/tmp/[SNIP long dir name]> > Thanks for the test case. This should be fixed in the next snapshot which > is building now. I'll be in bed before it finishes but if there are > problems > uploading it I'll restart it tomorrow. > > http://cygwin.com/snapshots/ > > Btw, the second set of "b"'s isn't necessary. A single b would trigger > the problem. > > cgf > Thank you. This problem has been fixed with the 5-28-2009 snapshot. Unfortunately I now have a different but probably related problem. I am unable to create a file or directory with a period as the first character. mkdir .test returns "/bin/mkdir: cannot create directory `.test': No such file or directory" However this only happens in my cwrsync installation which uses cygwin. Rolling back to 1.7.0-48 allows periods at the beginning. In my test install of cygwin on a WinXP box I can't trigger the error. jpa Cygwin Configuration Diagnostics Current System Time: Fri May 29 09:30:16 2009 Windows 2003 Server R2 Ver 5.2 Build 3790 Service Pack 2 Running in Terminal Service session Path: C:\Perl\site\bin C:\Perl\bin C:\Program Files\Windows Resource Kits\Tools\ C:\Program Files\Common Files\Pervasive Software Shared\pvswcore D:\ProHome\Timberline\SHARED\ C:\PVSW\BIN C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Program Files\Citrix\System32\Citrix\IMA C:\Program Files\Citrix\System32\Citrix\IMA\Subsystems C:\WINDOWS\System32\Citrix\IMA C:\Program Files\Citrix\system32 C:\Program Files\Common Files\Citrix\System32\ C:\Program Files\Common Files\Crystal Decisions\2.5\bin C:\Program Files\MySQL\MySQL Server 5.0\bin Output from C:\Program Files\ICW\bin\id.exe (nontsec) UID: 400(Administrator) GID: 401(mkpasswd) 401(mkpasswd) Output from C:\Program Files\ICW\bin\id.exe (ntsec) UID: 400(Administrator) GID: 401(mkpasswd) 401(mkpasswd) SysDir: C:\WINDOWS\system32 WinDir: C:\Documents and Settings\Administrator\WINDOWS Path = 'C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\Windows Resource Kits\Tools\;C:\Program Files\Common Files\Pervasive Software Shared\pvswcore;D:\ProHome\Timberline\SHARED\;C:\PVSW\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Citrix\System32\Citrix\IMA;C:\Program Files\Citrix\System32\Citrix\IMA\Subsystems;C:\WINDOWS\System32\Citrix\IMA;C:\Program Files\Citrix\system32;C:\Program Files\Common Files\Citrix\System32\;C:\Program Files\Common Files\Crystal Decisions\2.5\bin;C:\Program Files\MySQL\MySQL Server 5.0\bin' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' APPDATA = 'C:\Documents and Settings\Administrator\Application Data' CLASSPATH = 'C:\PVSW\bin\pvjdbc2x.jar;C:\PVSW\bin\pvjdbc2.jar;C:\PVSW\bin\jpscs.jar;C:\PVSW\BIN\PVJDBC2X.JAR;C:\PVSW\BIN\PVJDBC2.JAR' CLIENTNAME = 'HOME-PC' ClusterLog = 'C:\WINDOWS\Cluster\cluster.log' CommonProgramFiles = 'C:\Program Files\Common Files' COMPUTERNAME = 'GMISRVDR02' ComSpec = 'C:\WINDOWS\system32\cmd.exe' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Documents and Settings\Administrator' LOGONSERVER = '\\GMISRVDR01' NUMBER_OF_PROCESSORS = '1' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = 'x86' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 8, GenuineIntel' PROCESSOR_LEVEL = '15' PROCESSOR_REVISION = '0208' ProgramFiles = 'C:\Program Files' PROMPT = '$P$G' SESSIONNAME = 'RDP-Tcp#10' SystemDrive = 'C:' SystemRoot = 'C:\WINDOWS' TEMP = 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' TMP = 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' USERDNSDOMAIN = 'GEONERCO.COM' USERDOMAIN = 'GEONERCO' USERNAME = 'Administrator' USERPROFILE = 'C:\Documents and Settings\Administrator' VSL = 'C:\PVSW\\bin' windir = 'C:\WINDOWS' HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = '/cygdrive' cygdrive flags = 0x0000002a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'C:\Program Files\ICW' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'C:\Program Files\ICW\bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options obcaseinsensitive set to 1 a: fd N/A N/A c: hd NTFS 20481Mb 57% CP CS UN PA FC d: hd NTFS 36860Mb 58% CP CS UN PA FC Accounting e: cd N/A N/A f: hd NTFS 204797Mb 81% CP CS UN PA FC Data h: net NTFS 36860Mb 58% CP CS UN PA FC Accounting t: net NTFS 36860Mb 58% CP CS UN PA FC Accounting u: net NTFS 36867Mb 61% CP CS UN PA FC Accounting C:\Program Files\ICW / system binmode . /cygdrive user textmode,cygdrive,noacl,posix=0 Not Found: awk Not Found: bash Not Found: cat Not Found: cp Not Found: cpp (good!) Not Found: crontab Found: C:\WINDOWS\system32\find.exe Not Found: gcc Not Found: gdb Not Found: grep Not Found: kill Not Found: ld Not Found: ls Not Found: make Not Found: mv Not Found: patch Found: C:\Perl\bin\perl.exe Not Found: rm Not Found: sed Not Found: ssh Not Found: sh Not Found: tar Not Found: test Not Found: vi Not Found: vim 7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57 1074k 2009/03/25 .\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2009/3/25 9:45 977k 2009/01/01 .\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2008/12/31 22:12 22k 2001/12/13 .\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 37k 2003/08/10 .\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 14:50 31k 2005/11/20 .\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2005/11/19 18:04 31k 2009/01/01 .\cygintl-8.dll - os=4.0 img=1.0 sys=4.0 "cygintl-8.dll" v0.0 ts=2008/12/31 12:59 24k 2008/10/30 .\cygminires.dll - os=4.0 img=1.2 sys=4.0 "cygminires.dll" v0.0 ts=2008/10/30 16:53 237k 2009/03/01 .\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2009/2/28 22:28 181k 2008/09/07 .\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2008/9/6 20:36 22k 2002/06/09 .\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 155k 2008/11/29 .\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2008/11/29 6:30 2436k 2009/05/15 .\cygwin1-1.7.0-48.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2009/5/15 8:15 2436k 2009/05/28 .\cygwin1-snapshot.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2009/5/27 22:18 24k 2009/03/29 .\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0 "cygwrap-0.dll" v0.0 ts=2009/3/28 23:28 64k 2009/03/02 .\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2009/3/1 17:33 2436k 2009/05/28 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2009/5/27 22:18 Cygwin DLL version info: DLL version: 1.7.0 DLL epoch: 19 DLL old termios: 5 DLL malloc env: 28 Cygwin conv: 181 API major: 0 API minor: 210 Shared data: 5 DLL identifier: cygwin1 Mount registry: 3 Cygwin registry name: Cygwin Program options name: Program Options Cygdrive default prefix: Build date: Thu May 28 01:18:13 EDT 2009 Snapshot date: 20090528-01:14:23 Shared id: cygwin1S5 7k 2003/10/19 C:\Program Files\ICW\Bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57 1074k 2009/03/25 C:\Program Files\ICW\Bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2009/3/25 9:45 977k 2009/01/01 C:\Program Files\ICW\Bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2008/12/31 22:12 22k 2001/12/13 C:\Program Files\ICW\Bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 37k 2003/08/10 C:\Program Files\ICW\Bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 14:50 31k 2005/11/20 C:\Program Files\ICW\Bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2005/11/19 18:04 31k 2009/01/01 C:\Program Files\ICW\Bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0 "cygintl-8.dll" v0.0 ts=2008/12/31 12:59 24k 2008/10/30 C:\Program Files\ICW\Bin\cygminires.dll - os=4.0 img=1.2 sys=4.0 "cygminires.dll" v0.0 ts=2008/10/30 16:53 237k 2009/03/01 C:\Program Files\ICW\Bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2009/2/28 22:28 181k 2008/09/07 C:\Program Files\ICW\Bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2008/9/6 20:36 22k 2002/06/09 C:\Program Files\ICW\Bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 155k 2008/11/29 C:\Program Files\ICW\Bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2008/11/29 6:30 2436k 2009/05/15 C:\Program Files\ICW\Bin\cygwin1-1.7.0-48.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2009/5/15 8:15 2436k 2009/05/28 C:\Program Files\ICW\Bin\cygwin1-snapshot.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2009/5/27 22:18 24k 2009/03/29 C:\Program Files\ICW\Bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0 "cygwrap-0.dll" v0.0 ts=2009/3/28 23:28 64k 2009/03/02 C:\Program Files\ICW\Bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2009/3/1 17:33 2436k 2009/05/28 C:\Program Files\ICW\Bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2009/5/27 22:18 Cygwin DLL version info: DLL version: 1.7.0 DLL epoch: 19 DLL old termios: 5 DLL malloc env: 28 Cygwin conv: 181 API major: 0 API minor: 210 Shared data: 5 DLL identifier: cygwin1 Mount registry: 3 Cygwin registry name: Cygwin Program options name: Program Options Cygdrive default prefix: Build date: Thu May 28 01:18:13 EDT 2009 Snapshot date: 20090528-01:14:23 Shared id: cygwin1S5 Warning: There are multiple cygwin1.dlls on your path Service : RsyncServer Description : Rsync - open source utility that provides fast incremental file transfer Current State : Stopped Command : C:\Program Files\ICW\bin\rsync.exe --config rsyncd.conf --daemon --no-detach Working Dir : C:\Program Files\ICW stdin path : /dev/null stdout path : C:\Program Files\ICW\rsyncd-stdin.log stderr path : C:\Program Files\ICW\rsyncd-stderr.log Special flags : --shutdown Environment : CYGWIN="nontsec binmode nodosfilewarning" Process Type : Own Process Startup : Automatic Dependencies : tcpip Account : GEONERCO\SvcCWRSYNC Cygwin Package Information No setup information found Use -h to see help about each section -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/