delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/25/06:41:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 25 Apr 2000 07:40:27 -0400
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Cygwin 1.0: Error when launching MSDOS bat file from bash on Wind ows 2000
Message-ID: <20000425074027.A9380@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
References: <F1932D194B56D111965A00805F85190F01D38893 AT caucase DOT grenoble DOT xrce DOT xerox DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <F1932D194B56D111965A00805F85190F01D38893@caucase.grenoble.xrce.xerox.com>; from Guillaume.Berche@mkms.xerox.com on Tue, Apr 25, 2000 at 10:12:10AM +0200

On Tue, Apr 25, 2000 at 10:12:10AM +0200, Berche, Guillaume wrote:
>>FWIW, I doubt that attempting to execute .bat files via a cygwin path
>>will work correctly since there is no code in cygwin to translate the
>>paths for cmd.exe or command.com.
>
>Then, how does cygwin handles the file permissions on those files
>(documented as follows in C:\Cygwin\html\1_GS\int02.html) ?

I'm talking about path translation and you're quoting "File permissions".
I don't understand.

cgf

>>"File permissions
>>
>>On Windows 95/98 systems, files are always readable, and Cygwin uses
>>the native read-only mode to determine if they are writable.  Files are
>>considered to be executable if the filename ends with .bat, .com or
>>.exe, or if its content starts with #!.  Consequently, the chmod
>>command can only affect the 'w' mode, whereas it silently ignores
>>actions involving the other modes.  [...] "
>
>If the file is executable, it would seem to me logical that one can try
>to execute it.  I do not know cygwin internals but I'm surprised to see
>that it used to work with Cygwin 1.0 on NT4 and seems to not work under
>Cygwin 1.0 on Windows 2000.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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