Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 22 Feb 2001 22:05:07 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Symlinks, executability, system attribute, etc (was Re: [ANNOUNCEMENT])
Message-ID: <20010222220507.C908@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <20010221232921.X908@cygbert.vinschen.de> <000a01c09c73$7a43ce10$d938a8c0@Hadfield> <20010221212656.F7576@redhat.com> <00e601c09d10$379e4250$d938a8c0@Hadfield>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <00e601c09d10$379e4250$d938a8c0@Hadfield>; from m.hadfield@niwa.cri.nz on Fri, Feb 23, 2001 at 09:44:13AM +1300

On Fri, Feb 23, 2001 at 09:44:13AM +1300, Mark Hadfield wrote:
> Another thought about symlinks, executability etc. IF a change like
> Corinna's proposal is adopted and IF some time in the future support for
> current-style symlinks is dropped (or can be turned off optionally) then
> Cygwin will know that all symlinks have the extension .lnk and it will no
> longer need to use the system attribute for that purpose. Could the Windows
> system attribute then be used to indicate executability,i.e. the rule would
> be that a file is executable if the extension is .exe etc OR the system
> attribute is set. Voila, no need to look inside files for #!

There's already no need to look into the file when `ntsec' is used
on NTFS drives. In that case you simply set the x bit.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

