LS, on 1.7.8 files the contents of a file on a netapp share can not be read by all programs. The attached files 176.txt and 178.txt are the outputs of script file.sh on 1.7.6 and on the 20101118 snapshot.
On both 176.txt and 178.txt a file can be created, and its contents listed with the cat command. However on 176.txt the file command correctly reports "ASCII text", on 178.txt it reports "empty". I came across this with C-header files stored on this share. The preprocessor finds the header files, but won't read the contents. It will for instance report missing prototypes. The file command seems to reproduce this issue. Teun
#! /bin/sh uname -a zz=/shares/g_zon_software/cygwin17 ls -l $zz/bug.txt rm -f $zz/bug.txt cat << HERE > $zz/bug.txt line 1 HERE ls -l $zz/bug.txt cat $zz/bug.txt file $zz/bug.txt cat /etc/fstab | grep g_zon_software mount -m | grep 'share.*g_zon_software'
CYGWIN_NT-5.1 P4114 1.7.8s(0.233/5/3) 20101118 15:52:06 i686 Cygwin -rw-r--r-- 1 burgers Domain Users 0 2010-11-19 13:35 /shares/g_zon_software/cygwin17/bug.txt -rw-r--r-- 1 burgers Domain Users 0 2010-11-19 13:36 /shares/g_zon_software/cygwin17/bug.txt line 1 /shares/g_zon_software/cygwin17/bug.txt: empty //nas01/g_zon_software$ /shares/g_zon_software some_fs noacl,binary,notexec 0 0 //nas01/g_zon_software$ /exports/g_zon_software some_fs noacl,binary,notexec 0 0 //nas01/g_zon_software$ /shares/g_zon_software netapp binary,notexec,noacl 0 0
CYGWIN_NT-5.1 P4114 1.7.6(0.230/5/3) 2010-08-16 16:06 i686 Cygwin -rw-r--r-- 1 burgers Domain Users 7 2010-11-19 13:33 /shares/g_zon_software/cygwin17/bug.txt -rw-r--r-- 1 burgers Domain Users 7 2010-11-19 13:34 /shares/g_zon_software/cygwin17/bug.txt line 1 /shares/g_zon_software/cygwin17/bug.txt: ASCII text //nas01/g_zon_software$ /shares/g_zon_software some_fs noacl,binary,notexec 0 0 //nas01/g_zon_software$ /exports/g_zon_software some_fs noacl,binary,notexec 0 0 //nas01/g_zon_software$ /shares/g_zon_software netapp binary,notexec,noacl 0 0
-- 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