delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/05/00:59:53

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: How to make a shell script runnable?
5 Sep 1998 00:59:53 -0700 :
Message-ID: <19980902215310.989.rocketmail.cygnus.gnu-win32@send101.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Wei Xiang <WeiXiang AT ubisoft DOT com DOT cn>, gnu-win32 <gnu-win32 AT cygnus DOT com>

Extended attributes aren't supported on 9x.  It can be done on NT if you
`SET CYGWIN32=%CYGWIN32% ntea'.  You should be able to execute the
script if you include `#! /path/to/bash' as the first line of the
script.


---Wei Xiang <WeiXiang AT ubisoft DOT com DOT cn> wrote:
>
> I am using B19 in Windows 98 platform.  But I can not use the chmod
command
> to change a file's attributes.  Why?  Your suggestion will be very
helpful
> to me.
> 
> Here is a test:
> 
> drwxr-xr-x   3 500      everyone        0 Sep  1 15:05 .
> drwxr-xr-x   0 500      everyone        0 Jan  1  1970 ..
> -rw-r--r--   1 500      everyone        3 Sep  2 09:42 a
> BASH.EXE-2.01$ chmod +x a
> BASH.EXE-2.01$ ls -al a
> -rw-r--r--   1 500      everyone        3 Sep  2 09:42 a
> BASH.EXE-2.01$ chmod 777 a
> BASH.EXE-2.01$ ls -al
> total 1
> drwxr-xr-x   3 500      everyone        0 Sep  1 15:05 .
> drwxr-xr-x   0 500      everyone        0 Jan  1  1970 ..
> -rw-r--r--   1 500      everyone        3 Sep  2 09:42 a
> BASH.EXE-2.01$
> -
> For help on using this list (especially unsubscribing), send a
message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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