delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/27/20:36:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 27 Jan 2003 20:36:19 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: NTEA extensions for uid/gid
Message-ID: <20030128013619.GA33883849@hpn5170x>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
References: <20030127094057 DOT GJ2117 AT cygbert DOT vinschen DOT de> <Pine DOT LNX DOT 4 DOT 44 DOT 0301271132440 DOT 2332-100000 AT localhost DOT localdomain>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0301271132440.2332-100000@localhost.localdomain>
User-Agent: Mutt/1.4i

On Mon, Jan 27, 2003 at 02:30:35PM +0100, Ronald Landheer-Cieslak wrote:

> In any case, seeing the behaviour of the exec-permission bits, I have a 
> "wouldn't it be nice if...": wouldn't it be nice if the executable 
> permission bits would actually correspond to the executability
> of a file? I mean, an explorer-created empty file is definitely not
> executable - notably because it's empty.

The following line will remove unnecessary execute permissions on
all files under the pwd, in a cygwintelligent manner

CYGWIN=nontsec find . ! -perm -111 -print0 | env -u CYGWIN xargs -0 chmod a-x

Thanks for your tests, they confirm that Cygwin works as designed.
But we still don't know if the new design solves Christian Mueller's 
problems.

Pierre


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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