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:content-transfer-encoding; q=dns; s=default; b=mpQdjit39iiyPzXrlL2gF0XM46mqbnPKoA5NopDOMK+ w2oG9NY2waYMqCP2NPMsJvERuYegwIFSlr69rCKyDlnGLJ/PBwjRPuaoetAlzy2R N/U6BQ67BTjrA77V5Ys9fVDImEb0FFCLDEnFtS0gv77cxHq+bHDRhKaPXA6/Zc3s = 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:content-transfer-encoding; s=default; bh=kSUOJtBQZIZC2QQHPJrrDIcQ5uY=; b=RNTATlW5zBDDNGK8D D61S2oGn/CKw0MAl/AZeFbzzfUN0MJX8gDC2f7eZFlVz7CP6xPsces3l25iX+7XA waTgBo3sc5Jk/lNRR49Ri2wPfrzUCmbKr2zEBZ+JGF78XiiHmvWwx6G6e0AmBW0O EyPeLvdz6wMz6tozyvrcXoQhoM= 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=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-09.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 3ms0hT6LcMz3gy1 From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Shares with strange ACL settings References: <20150812152601 DOT GL13029 AT calimero DOT vinschen DOT de> <20150812155817 DOT GN13029 AT calimero DOT vinschen DOT de> <878u9g9y6b DOT fsf AT Rainer DOT invalid> <20150812183220 DOT GO13029 AT calimero DOT vinschen DOT de> Date: Wed, 12 Aug 2015 20:59:53 +0200 In-Reply-To: <20150812183220.GO13029@calimero.vinschen.de> (Corinna Vinschen's message of "Wed, 12 Aug 2015 20:32:20 +0200") Message-ID: <87vbck8h92.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; charset=utf-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t7CL45Bw005167 Corinna Vinschen writes: >> I think so, but there are likely some corner cases. But I think that >> had been proposed and shot down already, so I was trying to come up with >> something less intrusive. > > This is relatively unintrusive. The current user token is always > available. So if owner == current user, for every group in the file's > ACL just check if it's in the current user token and, if so, add the > perms of that group to the owner perms. > > Sounds pretty neat as an intermediate solution to me. I'd play the guinea pig for that snapshot… :-) Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- 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