From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15939 invoked from network); 1 Feb 2021 23:45:37 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 1 Feb 2021 23:45:37 -0000 Received: from icebubble.org ([174.136.103.210]) by 1ess; Mon Feb 1 15:32:07 -0500 2021 Received: from petunia by icebubble.org with local-bsmtp (Exim 4.76) (envelope-from ) id 1l6fxz-0003qy-Rj for 9front@9front.org; Mon, 01 Feb 2021 20:38:35 +0000 Received: from rusat by cmarib.ramside with local (Exim 4.72) (envelope-from ) id 1l6KTt-0002L3-7U for 9front@9front.org; Sun, 31 Jan 2021 21:42:05 +0000 From: magma698hfsp273p9f@icebubble.org To: 9front@9front.org References: <0298936785AE322EABB8CBD08698D520@eigenstate.org> Date: Sun, 31 Jan 2021 21:42:04 +0000 In-Reply-To: <0298936785AE322EABB8CBD08698D520@eigenstate.org> (ori@eigenstate.org's message of "Mon, 25 Jan 2021 11:44:13 -0800") Message-ID: <861re06axf.fsf@cmarib.ramside> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: ISO-certified anonymous app CMS-aware manager Subject: Re: [9front] notes on user none Reply-To: 9front@9front.org Precedence: bulk ori@eigenstate.org writes: >> Um. What if the file is owned by "none", but chmod 0400? The u+r would >> suggest that it would be readable. But, if only world permissions are >> checked, the o-r suggests that it would be be unreadable. > > Yes, that's the "not fooling yourself" part. > > if none checked permissions as normal, you could > simply do > > auth/none cat file > > as any user. if none can read it, so can anyon else. The point is taken, but shouldn't a file owned by none u+r be readable by none? I can see how one might fool oneself if a file owned by none is chmod 0004. "auth/none cat" can still read it. But if it's chmod 0400, I would think it should be readable by none. If you ONLY consult the world permissions, you're still "fooling yourself"... just in the opposite direction. To me, it makes perfect sense for a file to be readable by none if any of its user, group, or world permissions grant read permission. That's the way permissions normally work on Plan 9. Creating an exception to those (otherwise regular) rules seems like it's CREATING a way to fool yourself.