This is the mail archive of the
mailing list for the Cygwin project.
Re: Shell scripts on FAT volumes
- From: yitzle <yitzle at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 21 Aug 2007 10:42:24 -0400
- Subject: Re: Shell scripts on FAT volumes
- References: <firstname.lastname@example.org>
On 8/21/07, Thorsten Kampe <email@example.com> wrote:
> [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?
I created test.sh on my USB key (FAT):
> cat > test.sh << END
Then I did
> chmod 700 test.sh
Then I ran it:
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html