delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/31/06:31:27

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
Message-ID: <3D47BC77.9090405@upb.de>
Date: Wed, 31 Jul 2002 12:31:19 +0200
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1b) Gecko/20020721
X-Accept-Language: de, en
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: Chris Game <chrisgame AT bigfoot DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problems with CPAN
References: <31CB870AD5AA384BB5419025DD9F7A84104355 AT dailymail DOT cfs DOT ac DOT uk> <31CB870AD5AA384BB5419025DD9F7A8410435A AT dailymail DOT cfs DOT ac DOT uk> <20020731114049 DOT D3921 AT cygbert DOT vinschen DOT de> <MPG DOT 17b1c9bfc73271e4989694 AT news DOT gmane DOT org>
X-OriginalArrivalTime: 31 Jul 2002 10:29:14.0368 (UTC) FILETIME=[1DE92000:01C2387D]

>>Nooooo.  It's way easier.  If an application uses stat() and
>>checks the uid against the posix permission bits, it fails
>>since your uid is definitely not the uid of the admins group.
>>
>><snip rest of highly techie explanation>
> 
> In what sense are you using the phrase 'way easier' in the first 
> sentence? The rest of your stuff goes right over the head of this 
> part of the target audience!

in fact is was easier:
- the perl script checked the permission - what went wrong since NT ACLs 
are much more complicated than unix RWX-stuff
- bash does not use any test - it just opens/runs the file to check if 
it has access.

but: shouldn't there be a better conversion of NT-ACLs to unix-perms?
perhaps a POSIX-ACL implementation?


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