delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/05/21:28:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <42A3A773.3C6AFA4A@dessent.net>
Date: Sun, 05 Jun 2005 18:31:31 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: perl -x doesn't recognize file as executable
References: <42A32D8C DOT 9080408 AT scytek DOT de> <42A35971 DOT 8C69A2C5 AT dessent DOT net> <42A39676 DOT 9030208 AT scytek DOT de>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Volker Quetschke wrote:

> You mean special logic for windows file permissions (ACL?), not only
> using the owner/group/other scheme?

I think that it recognises files ending in ".exe" and special-cases
them.

> $ getfacl /cygdrive/c/Programme/NSIS/NSIS.exe
> # file: /cygdrive/c/Programme/NSIS/NSIS.exe
> # owner: Administratoren
> # group: none
> user::rwx
> group::---
> group:SYSTEM:rwx
> group:Benutzer:r-x
>                   ^
> with ------------|
> 
> So it is executable. But ugo rights do not show this

You're right.  But as far as I know most unix utilities don't know about
ACLs and only recognise standard 777 type permissions.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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