9front - general discussion about 9front
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: 9front@9front.org
Subject: Re: [9front] notes on user none
Date: Mon, 25 Jan 2021 11:44:13 -0800	[thread overview]
Message-ID: <0298936785AE322EABB8CBD08698D520@eigenstate.org> (raw)
In-Reply-To: <861rean8s9.fsf@cmarib.ramside>

Quoth magma698hfsp273p9f@icebubble.org:
> ori@eigenstate.org writes:
> 
> > One thing that's worth noting: The reason that none
> > only looks at world permissions is that *anyone* can
> > become none with no authentication -- which means
> > that a file readable by none is equivalent to a world
> > readable file.
> >
> > Making 'none' only look at the world permissions is
> > a reasonable way to avoid fooling yourself.
> 
> 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.


  reply	other threads:[~2021-01-26 11:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22 23:44 Anthony Martin
2021-01-23  9:45 ` sirjofri
2021-01-23 14:02   ` hiro
2021-01-23 14:13 ` cinap_lenrek
2021-01-23 21:31 ` ori
2021-01-24  6:33   ` magma698hfsp273p9f
2021-01-25 19:44     ` ori [this message]
2021-01-31 21:42       ` magma698hfsp273p9f
2021-02-01 22:06         ` sirjofri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0298936785AE322EABB8CBD08698D520@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).