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:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; q=dns; s=default; b=VzISpy8s3nS3wvVcg6YV dSViiLBicTjuIKrbvuKpV3vjnt6WZh8mW7ajWLjVzxQiUF3U46/G36/Cu4pveY8R hAz5SIgPufK2ewO1p0FFnO25M+9SKgl+/cCzTHorrlzxcih5gwvwAmi8SiP6FIXO eJWsl3Vn1p8hpQ6mOk2BdjU= 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:mime-version:content-type :content-transfer-encoding:date:from:to:subject:in-reply-to :references:message-id; s=default; bh=Xpy+8+M2etlKxcJUoAxh2CtoA0 E=; b=WaRczIOzRr1gYENePIijen3Vtms6dBWz65DckKIw+0adIga7aBVsHBEKyc SdKvh87tPONv1rdjbun5kFMYaiCuWTvYevmBclBUgyPDJs3CJjPUQfYxy3WPsB2I GQlDToOpRVTSPpVVXaJ8dp1R9MU+C0YoztKvHG768xR0eYyKg= 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=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=extensively, deleteing, According, 2.4.0-0.15 X-HELO: lb1-smtp-cloud6.xs4all.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 21 Dec 2015 14:11:19 +0100 From: Houder To: cygwin AT cygwin DOT com Subject: Re: setfacl(2.4.0.14): recalculation of the ACL mask entry In-Reply-To: <20151221124645.GE4034@calimero.vinschen.de> References: <4e359179a04344745b43991e66398a6e AT xs4all DOT nl> <20151221124645 DOT GE4034 AT calimero DOT vinschen DOT de> Message-ID: X-Sender: houder AT xs4all DOT nl (mPQ3pQvi6hzwlVqGaRT4yw==) User-Agent: XS4ALL Webmail X-IsSubscribed: yes On 2015-12-21 13:46, Corinna Vinschen wrote: > On Dec 20 18:52, Houder wrote: >> Hi Corinna, >> >> According to acl(5), the mask entry (as reported by getacl) is >> "optional" if >> the >> acl contains no 'u:uid:perm' and/or 'g:gid:perm' entries (ace's) ... >> Ahem. >> [...] >> However, setfacl(1) and your setfacl also note, that the default >> behaviour >> of >> setfacl is to recalculate the mask entry ... >> [...] >> I decided to experiment ... See below. (the mask entry is not >> recalculated, >> it >> appears). > > It is, but only in a limit number of scenarios. I completely forgot > about recalculating when deleteing ACEs, in fact. I checked this > against setfacl on Linux again, appied a patch and uploaded a new test > release 2.4.0-0.15. The mask recalculation behaviour should now be > as close as possible to Linux, I hope. I also renamed the --substitute > option to --set, as with Linux setfacl. > > Please give it a try. Just, if it's still wrong, I guess a patch has > to wait until after the holidays. Euh ... no problem here. Go, have a holiday! Regards, Henri > > > Thanks a lot for testing this so extensively, > Corinna -- 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