X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=sApbW
	QieuEpSeEiUEPwRWAhzmwbXSdhTU49UhohyU5Vx/coyZmI+4UDyQveZpijJCBc4R
	P4n/fx/qNS6Xy0i8sDPX2mn8FF6uA39znPZDMQEIGn/MSvko6k261tUeMzZKSF6v
	b6x7CTeFUGdFhRwqrfJmzyY3t9MtVltRCMxQUo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=N8iJB+2V6X8
	YH2JL67H2l85jYtk=; b=pHJ0O3rdETIQwikZ6V2NYxErjf9dtRZjYAgcwli4yQA
	8PpYrE3xwKhNy1NtM/ESONbweMIVe9VeUBKIu8okTYAFII0QkVUHkHvRmBysWRlI
	4wVy7DExD+MJdNP9kTArlK0XHOySd7Bx/CBeRz/2jLfeziGNtJORnzR0LFH37JbQ
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-10.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-16.arcor-online.net 3l16l56ptwzDnk
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 1.7.35-1
References: <announce.20150304112636.GI3213@calimero.vinschen.de>	<loom.20150306T134526-167@post.gmane.org>	<20150309091029.GA28200@calimero.vinschen.de>
Date: Mon, 09 Mar 2015 18:59:43 +0100
In-Reply-To: <20150309091029.GA28200@calimero.vinschen.de> (Corinna Vinschen's	message of "Mon, 9 Mar 2015 10:10:29 +0100")
Message-ID: <87ioeam4q8.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Corinna Vinschen writes:
> The problem is this.  How long do you want `ls -l' take?  Checking
> permissions is awkward and lengthy on Windows, unless you have the
> user's token.

The only token that's relevant for the ACL mapping w.r.t. POSIX
semantics is that of the current user and Cygwin should already have
that I think.  Plus the extra work only needs to be done when the file
is owned by that user and/or the egid is identical to the group of said
file.  In all other cases the normal ACL processing should actually
yield the same result as mandated by POSIX.

> The access check can be improved and the permissions more correctly
> shown for the current user, but for any file and any user account,
> it'd be a lot of time-consuming effort.

I'd say that Cygwin already does all of that, except for this special
handling of the file owner and group.  It already has to check who the
owner and group is, so that information is also there.  I'm not sure how
much more work it is to graft the permissions.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

