delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/02/10:53:34

From: WeiXiang AT ubisoft DOT com DOT cn (Wei Xiang)
Subject: How to make a shell script runnable?
2 Sep 1998 10:53:34 -0700 :
Message-ID: <50E89D0739DBD1119B5500A0C932C7E621593A.cygnus.gnu-win32@exchsrv.ubisoft.com.cn>
Mime-Version: 1.0
To: gnu-win32 <gnu-win32 AT cygnus DOT com>

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".

- Raw text -


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