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=YzRZm
	4WwwWoO/0in2rauDQo3b2+l2oCfX1sAvCsP/FI7mZ04LutUGOu8xoHJOq29wk/aM
	ZVmLDE/XBLcN0DAPPY0ZvP4QdBhJp5dc42C7OR5z6+T0mZ380F6ad7Es+STjk11S
	+xeyVMsJg/tAEviui2/+g/m603i8Uq3z51OnA4=
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=AGDfmtLhapk
	QQZasLJWwrflAn10=; b=HPZXFyKGY/k4O4a6tbTbajgLVdbl5WGHwv1XI9W9ImT
	QF8I9C3eKupHmcLU+/h2WV7M0H7xsMo1QzgkZuv1XLHWGleiaIpteZ/EB//uWPB8
	wO/Xx8oW8a30SJCOBMEwhQ0kLJSnWqQGBjEqa+2RJKZEtqJtUxg3ZsgAeVq2s8BA
	=
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-12.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-13.arcor-online.net 3ktg4k31cNzJMPG
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Too Many Permissions Stripped In 1.7.35?
References: <CADi7v6JajieaQGq3N5LY2Ck2m7SiOTci6au5t7RL4gxZdvBgEw@mail.gmail.com>	<87twy8cv4k.fsf@Rainer.invalid>	<20150226202836.GB10024@calimero.vinschen.de>	<CADi7v6LLEhH9Dn3X3+W4Fk2=r7brDKuSHoJT3f7P31FX8523fg@mail.gmail.com>	<20150226205736.GA10870@calimero.vinschen.de>	<CADi7v6+u=92JZUjJ85xwuELFDm7-O4i5+Js_aWVV=6F-wHxatQ@mail.gmail.com>	<20150226222931.GA11124@calimero.vinschen.de>
Date: Fri, 27 Feb 2015 06:52:34 +0100
In-Reply-To: <20150226222931.GA11124@calimero.vinschen.de> (Corinna Vinschen's	message of "Thu, 26 Feb 2015 23:29:31 +0100")
Message-ID: <87wq33x5nh.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:
> Having discussed this, I can understand that it may be desirable to
> skip the permissions of the SYSTEM account in these circumstances:
>
> - Computing the POSIX ACL mask and default mask value and thus in
>   the permission mask as printed by `ls -l'.
>
> - Changing SYSTEM permissions when calling chmod, unless SYSTEM is the
>   file's owning group.
>
> Changing this in the code is pretty straightforward. but I'm not willing
> to add another mount option for this behaviour.  Either Cygwin ignores
> SYSTEM in the aforementioned circumstances or it doesn't.
>
> Crucial vote starting... now.

Given these constraints, I don't think we should treat SYSTEM special
(if we'd start doing that there'd be other cases that could or should be
treated special, maybe depending on further conditions).  Mounting with
posix/acl then makes Cygwin try to conform to POSIX semantics as much as
possible and potentially strip off ACL permissions when using chmod.
You will need to keep mounting with noacl to avoid that.


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

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

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

