X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 26 Nov 2007 19:03:49 -0800 To: cygwin AT cygwin DOT com From: jeffunit Subject: weird samba problems, latest cygwin, samba 3.0.25b-4.2 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_77608875==_" Message-Id: <20071127030358.LQYY13553.mta13.adelphia.net@dual-xeon.jeffunit.com> 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 --=====================_77608875==_ Content-Type: text/plain; charset="us-ascii"; format=flowed I built a fileserver running mandriva linux 2008 and samba 3.0.25b-4.2 After copying lots of files there, I decided to run cygwin 'diff -r' to be sure they really got copied ok. I ran into problems. Here is what I know. For example, to copy the emacs-22.1 source tree to my server, I use the command from bash of 'cp -r -p emacs-22.1 /cygdrive/q/u/emacs-22.1' , where q is a samba share on my fileserver. When I run diff, diff reports that many files were not copied (here is a snippet of its output): Only in emacs-22.1/lisp/gnus: rfc2045.elc Only in emacs-22.1/lisp/gnus: rfc2047.elc Only in emacs-22.1/lisp/gnus: rfc2104.elc Only in emacs-22.1/lisp/gnus: rfc2231.elc Only in emacs-22.1/lisp/gnus: score-mode.elc Only in emacs-22.1/lisp/gnus: sha1.elc Only in emacs-22.1/lisp/gnus: sieve-manage.el When I open a dos box on windows xp, and look for the 'missing' files, using the dos command 'dir', they are present. When I use the cygwin command 'ls' they are not present. When I go to the fileserver, they are present and look fine in owner, group, permission, date, etc. I wrote my own utility in python (using cygwin's python), that just looks for files being present, and it does not report these 'missing' files from diff's output as being missing, but it does report the odd 'nnmaildir' problem (info below). Another odd thing, is that when I use the dos command dir on the gnus directory, I get a file called 'nnmaildir'. It shows up on linux as nnmaildir.elc (as it should). When I use the dos command 'dir nnmai*', I get 10/15/2006 02:49 AM 61,802 nnmaildir.el 06/02/2007 04:57 AM 53,366 nnmail.elc 06/02/2007 04:57 AM 98,983 nnmaildir.elc 03/31/2007 02:10 PM 71,317 nnmail.el which is what it should be, but there is no 'nnmaildir' file which is reported with the dos command dir. ls -als nnma* reports 1024 -rw-r--r-- 1 jdeifik None 53366 Jun 2 05:57 nnmail.elc 1024 -rw-r--r-- 1 jdeifik None 61802 Oct 15 2006 nnmaildir.el and doesn't report the bogus 'nnmaildir' at all. All of this strangeness is also present if I use the microsoft windows explorer to copy the files rather than 'cp -r -p'. If I am copying to a local disk on windows xp, there are no problems according to diff or my python script. Except for the dos command dir reporting 'nnmaildir' when used without any qualifiers, there are no obvious microsoft specific problems. It seems to me that cygwin utilities/portability layer is acting strangely with samba shares. Of course there is a possibility that there are issues with samba itself. Any ideas how to resolve these issues? jeff --=====================_77608875==_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: attachment; filename="cygcheck.out" Cygwin Configuration Diagnostics Current System Time: Mon Nov 26 18:35:19 2007 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\bin C:\cygwin\bin\ C:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Intel\DMIX C:\cygwin\bin u:\j\bin c:\Program Files\Executive Software\Diskeeper\ c:\Program Files\ImageConverter Plus c:\Program Files\QuickTime\QTSystem\ Output from C:\cygwin\bin\id.exe (nontsec) UID: 1003(jdeifik) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) Output from C:\cygwin\bin\id.exe (ntsec) UID: 1003(jdeifik) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '/cygdrive/u' HOME = '/cygdrive/u/j' HOMEPATH = '\Documents and Settings\jdeifik' APPDATA = 'C:\Documents and Settings\jdeifik\Application Data' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 9, GenuineIntel' WINDIR = 'C:\WINDOWS' USERDOMAIN = 'DUAL-XEON' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' TEMP = '/cygdrive/c/DOCUME~1/jdeifik/LOCALS~1/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' !K: = 'K:\k_tmp\video\qq\Pink_Floyd_and_Syd' QTJAVA = 'C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip' USERNAME = 'jdeifik' PROCESSOR_LEVEL = '15' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' SAN_DIR = 'C:\Program Files\SiSoftware\SiSoftware Sandra Lite XI.SP2' USERPROFILE = 'C:\Documents and Settings\jdeifik' CLIENTNAME = 'Console' LOGONSERVER = '\\DUAL-XEON' !U: = 'U:\' ISUSER = 'C:\DOCUME~1\jdeifik\LOCALS~1\Temp\{E79E27A5-AC9E-47DC-AB61-5FD47CE178AA}\{0F86FD09-BA63-4E45-A70B-604C1106C2F2}\_isuser.dll' PROCESSOR_ARCHITECTURE = 'x86' !C: = 'C:\tmp' SHLVL = '1' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' PROMPT = '$P$G' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/DOCUME~1/jdeifik/LOCALS~1/Temp' SYSTEMROOT = 'C:\WINDOWS' PROCESSOR_REVISION = '0209' CLASSPATH = '.;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip' PROGRAMFILES = 'C:\Program Files' SAMDIR = 'SINSTDIR' NUMBER_OF_PROCESSORS = '4' !Q: = 'Q:\u' SESSIONNAME = 'Console' COMPUTERNAME = 'DUAL-XEON' !EXITCODE = '00000000' _ = '/usr/bin/cygcheck' POSIXLY_CORRECT = '1' HKEY_CURRENT_USER\Software\Cygnus Solutions 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_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = '/cygdrive' cygdrive flags = 0x00000022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'C:\cygwin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'C:\cygwin/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = 'C:\cygwin/lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 17500Mb 49% CP CS UN PA FC Win_Xp d: cd N/A N/A j: hd NTFS 341553Mb 92% CP CS UN PA FC Sea_400_1_mp3 k: hd NTFS 377551Mb 76% CP CS UN PA FC Sea_400_3_av l: hd NTFS 381551Mb 69% CP CS UN PA FC Sea_400_2_Torrent m: hd NTFS 715402Mb 76% CP CS UN PA FC Sea_SATA_750_tv q: net NTFS 1430776Mb 44% CP CS PA data_jeff r: fd N/A N/A s: net N/A N/A t: hd FAT32 3992Mb 1% CP UN SEA_400_3_T u: hd NTFS 39997Mb 65% CP CS UN PA FC Sea_400_1_Usr v: fd N/A N/A w: fd N/A N/A x: fd N/A N/A y: fd N/A N/A z: fd N/A N/A C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Not Found: crontab Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\patch.exe Found: C:\cygwin\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\ssh.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Not Found: vi Found: C:\cygwin\bin\vim.exe 802k 2003/09/15 C:\cygwin\bin\cygaspell-15.dll - os=4.0 img=1.0 sys=4.0 "cygaspell-15.dll" v0.0 ts=2003/9/15 5:32 61k 2006/11/10 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2006/11/10 15:42 7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57 1059k 2007/10/19 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2007/10/19 4:45 895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.2.dll" v0.0 ts=2004/4/27 8:31 965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll - os=4.0 img=1.0 sys=4.0 "cygdb-4.3.dll" v0.0 ts=2005/5/14 5:37 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.2.dll" v0.0 ts=2004/4/27 8:35 1240k 2005/05/14 C:\cygwin\bin\cygdb_cxx-4.3.dll - os=4.0 img=1.0 sys=4.0 "cygdb_cxx-4.3.dll" v0.0 ts=2005/5/14 5:41 118k 2007/04/06 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0 "cygexpat-0.dll" v0.0 ts=2007/4/6 13:43 214k 2005/08/13 C:\cygwin\bin\cygFLAC++-5.dll - os=4.0 img=1.0 sys=4.0 "cygFLAC++-5.dll" v0.0 ts=2005/8/13 1:09 79k 2007/09/17 C:\cygwin\bin\cygFLAC++-6.dll - os=4.0 img=1.0 sys=4.0 "cygFLAC++-6.dll" v0.0 ts=2007/9/17 11:08 274k 2005/08/13 C:\cygwin\bin\cygFLAC-7.dll - os=4.0 img=1.0 sys=4.0 "cygFLAC-7.dll" v0.0 ts=2005/8/13 1:04 265k 2007/09/17 C:\cygwin\bin\cygFLAC-8.dll - os=4.0 img=1.0 sys=4.0 "cygFLAC-8.dll" v0.0 ts=2007/9/17 11:04 40k 2006/11/15 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0 "cygform-8.dll" v0.0 ts=2006/11/14 23:06 48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/8/9 2:25 19k 2006/11/19 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2006/11/19 0:18 8k 2006/11/19 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2006/11/19 0:18 25k 2007/08/23 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0 "cyghistory6.dll" v0.0 ts=2007/8/23 15:01 271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0 "cygicons-0.dll" v0.0 ts=2007/8/24 0:24 976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2006/10/22 16:44 37k 2003/08/10 C:\cygwin\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:\cygwin\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 2006/10/23 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0 "cygintl-8.dll" v0.0 ts=2006/10/22 17:12 83k 2007/06/06 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0 "cygmagic-1.dll" v0.0 ts=2007/6/6 3:41 21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0 "cygmenu-8.dll" v0.0 ts=2006/11/14 23:05 29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/8/9 2:25 20k 2006/12/21 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.1 sys=4.0 "cygminires.dll" v0.0 ts=2006/12/20 21:07 67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++-8.dll" v0.0 ts=2006/11/14 23:13 237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2006/11/14 23:02 224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/8/9 2:24 15k 2007/07/29 C:\cygwin\bin\cygogg-0.dll - os=4.0 img=1.0 sys=4.0 "cygogg-0.dll" v0.0 ts=2007/7/29 11:55 150k 2005/08/13 C:\cygwin\bin\cygOggFLAC++-2.dll - os=4.0 img=1.0 sys=4.0 "cygOggFLAC++-2.dll" v0.0 ts=2005/8/13 1:09 107k 2005/08/13 C:\cygwin\bin\cygOggFLAC-3.dll - os=4.0 img=1.0 sys=4.0 "cygOggFLAC-3.dll" v0.0 ts=2005/8/13 1:09 12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0 "cygpanel-8.dll" v0.0 ts=2006/11/14 23:04 19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/8/9 2:24 133k 2007/06/27 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2007/6/26 20:49 303k 2007/06/27 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcrecpp-0.dll" v0.0 ts=2007/6/26 20:50 7k 2007/06/27 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix-0.dll" v0.0 ts=2007/6/26 20:50 1224k 2007/07/19 C:\cygwin\bin\cygperl5_8.dll - os=4.0 img=1.0 sys=4.0 "cygperl5_8.dll" v0.0 ts=2007/7/8 12:14 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 154k 2007/08/23 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2007/8/23 15:01 219k 2007/10/19 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygssl-0.9.8.dll" v0.0 ts=2007/10/19 4:45 247k 2004/12/07 C:\cygwin\bin\cygtidy-0-99-0.dll - os=4.0 img=1.0 sys=4.0 "cygtidy-0-99-0.dll" v0.0 ts=2004/12/7 6:34 65k 2006/10/16 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2006/10/15 18:10 1830k 2007/01/31 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2007/1/31 1:58 Cygwin DLL version info: DLL version: 1.5.24 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 156 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Wed Jan 31 10:57:51 CET 2007 CVS tag: cr-0x5f1 Shared id: cygwin1S4 No Cygwin services found. Cygwin Package Information Last downloaded files to: U:\j\win-general\gnu-open_source\cygwin Last downloaded files from: ftp://ftp.planetmirror.com/pub/sourceware/cygwin Package Version _update-info-dir 00554-1 alternatives 1.3.29a-1 ash 20040127-3 aspell 0.50.3-1 aspell-en 0.51.0-1 base-files 3.7-1 base-passwd 2.2-1 bash 3.2.25-17 bc 1.06-2 binutils 20060817-1 bzip2 1.0.3-2 coreutils 6.9-5 crypt 1.1-1 cvs 1.11.22-1 cygrunsrv 1.17-1 cygutils 1.3.2-1 cygwin 1.5.24-2 cygwin-doc 1.4-4 diffutils 2.8.7-1 editrights 1.01-1 expat 1.95.8-2 file 4.21-1 findutils 4.3.8-1 flac 1.2.1-1 gawk 3.1.6-1 gcc 3.4.4-3 gcc-core 3.4.4-3 gcc-g++ 3.4.4-3 gcc-java 3.4.4-3 gcc-mingw-core 20050522-1 gcc-mingw-g++ 20050522-1 gcc-mingw-java 20050522-1 gdb 20060706-2 grep 2.5.1a-4 groff 1.18.1-2 gzip 1.3.12-2 indent 2.2.9-2 less 382-1 libaspell15 0.50.3-1 libbz2_1 1.0.3-2 libdb4.2 4.2.52-1 libdb4.3 4.3.28-1 libexpat0 1.95.8-2 libFLAC++5 1.1.2-1 libFLAC++6 1.2.1-1 libFLAC7 1.1.2-1 libFLAC8 1.2.1-1 libgdbm4 1.8.3-8 libiconv2 1.11-1 libintl2 0.12.1-3 libintl3 0.14.5-1 libintl8 0.15-1 libncurses7 5.3-4 libncurses8 5.5-3 libogg0 1.1.3-1 libOggFLAC++2 1.1.2-1 libOggFLAC3 1.1.2-1 libpcre0 7.2-1 libpopt0 1.6.4-4 libreadline6 5.2.7-9 login 1.9-7 make 3.81-1 man 1.6e-1 mingw-runtime 3.13-1 minires 1.01-1 mktemp 1.5-4 ncurses 5.5-3 openssh 4.7p1-2 openssl 0.9.8g-1 patch 2.5.8-9 perl 5.8.8-4 python 2.5.1-2 rebase 2.4.3-1 run 1.1.10-1 scsh 0.6.7-2 sed 4.1.5-2 tar 1.19-1 tcltk 20060202-1 termcap 20050421-1 terminfo 5.5_20061104-1 texinfo 4.8a-1 tidy 041206-1 time 1.7-1 vim 7.1-1 w32api 3.10-1 webcheck 1.10.1-1 which 1.7-1 zlib 1.2.3-2 Use -h to see help about each section --=====================_77608875==_ Content-Type: text/plain; charset=us-ascii -- 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/ --=====================_77608875==_--