delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/28/21:48:36

From: allan AT interport DOT net (Allan Peda)
Subject: chmod broke? Or perhaps ' ls -l ' is inaccurate here
28 May 1997 21:48:36 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <338E2D6C.3644.cygnus.gnu-win32@interport.net>
References: <0009386C DOT 1950 AT ccmail DOT irs DOT gov> <3362107E DOT 321B940D AT smva DOT com>
Reply-To: allan AT interport DOT net
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

While playing with the deleting the .exe suffix, I employed chmod 777
as illustrated to a file formerly known as input.exe, but now 
renamed to 'input.'  It executes, but ls -l reveals:

bash$ chmod -v 777 input.
mode of input. changed to 0777 (rwxrwxrwx)
bash$ ls -l
total 186
....
..... > stuff deleted <
-rw-r--r--   1 544      everyone   111586 May 29 21:12 input
.....
....

So what gives here?  As I mentioned, the executable executes, but 
'ls -l' doesn't hint that it can.

hmmm?

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