This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to make a shell script runnable?



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@ubisoft.com.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@cygnus.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]