delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4CE83AF7.5000202@quicknet.nl> |
Date: | Sat, 20 Nov 2010 22:17:43 +0100 |
From: | "A.R. Burgers" <a DOT rburgers AT quicknet DOT nl> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | 1.7.8: files exist but can not be read |
X-ZiggoSMTP-MailScanner-Information: | Please contact the ISP for more information |
X-ZiggoSMTP-MailScanner-ID: | 1PJuoa-00012V-Gf |
X-ZiggoSMTP-MailScanner: | Found to be clean |
X-ZiggoSMTP-MailScanner-SpamCheck: | geen spam, SpamAssassin (niet cached, score=-3.899, vereist 5, ALL_TRUSTED -1.80, BAYES_00 -2.60, CM_META_TB_NOARR 0.50) |
X-ZiggoSMTP-MailScanner-From: | a DOT rburgers AT quicknet DOT nl |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
--------------050802040300030609020102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------050802040300030609020102 Content-Type: text/plain; name="file.sh" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.sh" #! /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' --------------050802040300030609020102 Content-Type: text/plain; name="178.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="178.txt" 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 --------------050802040300030609020102 Content-Type: text/plain; name="176.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="176.txt" 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 --------------050802040300030609020102 Content-Type: text/plain; charset=us-ascii -- 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 --------------050802040300030609020102--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |