delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/21/10:38:54

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Shell scripts on FAT volumes
Date: Tue, 21 Aug 2007 15:37:30 +0100
Lines: 13
Message-ID: <faetbb$q26$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
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

[Cygwin latest snapshot]

I just noticed (on two different Windows XP) Cygwin installation that 
Shebang shell scripts are not executable on FAT32 volumes (like usb 
drives). The mount man page says "Normally, files ending in certain 
extensions (.exe, .com,  .bat,  .cmd) are  assumed  to be executable.  
Files whose first two characters begin with  '#!' are also considered 
to be executable."

Is that expected behaviour?


Thorsten


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019