This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Too Many Permissions Stripped In 1.7.35?
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Feb 2015 06:52:34 +0100
- Subject: Re: Too Many Permissions Stripped In 1.7.35?
- Authentication-results: sourceware.org; auth=none
- References: <CADi7v6JajieaQGq3N5LY2Ck2m7SiOTci6au5t7RL4gxZdvBgEw at mail dot gmail dot com> <87twy8cv4k dot fsf at Rainer dot invalid> <20150226202836 dot GB10024 at calimero dot vinschen dot de> <CADi7v6LLEhH9Dn3X3+W4Fk2=r7brDKuSHoJT3f7P31FX8523fg at mail dot gmail dot com> <20150226205736 dot GA10870 at calimero dot vinschen dot de> <CADi7v6+u=92JZUjJ85xwuELFDm7-O4i5+Js_aWVV=6F-wHxatQ at mail dot gmail dot com> <20150226222931 dot GA11124 at calimero dot vinschen dot de>
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