X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 To: cygwin AT cygwin DOT com Subject: Re: Too Many Permissions Stripped In 1.7.35? References: <87twy8cv4k DOT fsf AT Rainer DOT invalid> <20150226202836 DOT GB10024 AT calimero DOT vinschen DOT de> <20150226205736 DOT GA10870 AT calimero DOT vinschen DOT de> <20150226222931 DOT GA11124 AT calimero DOT vinschen DOT 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