From: Jakub Wilk <jwilk@jwilk.net>
To: Jonny Grant <jg@jguk.org>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>, <linux-man@vger.kernel.org>
Subject: Re: core(5)
Date: Sat, 6 Jun 2020 20:32:10 +0200 [thread overview]
Message-ID: <20200606183210.2tx7rjuryxrnh7d3@jwilk.net> (raw)
In-Reply-To: <e8283646-38fd-b9a8-2056-547fecaeb182@jguk.org>
* Jonny Grant <jg@jguk.org>, 2020-06-06, 16:45:
>>>3) Could i ask to clarify my understanding. For this "The binary
>>>being executed by the process does not have read permission enabled."
>>>-- is this when the binary permissions are changed after it starts
>>>running?
>>No, AFAICS the permission check is done when the process starts.
>How can the process start if the binary file doesn't have read
>permissions enabled?
It's a bit weird, but the kernel doesn't mind:
$ cp /bin/ls .
$ chmod a-r ls
$ ./ls -l ls
--wx--x--x 1 jwilk jwilk 138856 Jun 6 20:22 ls
--
Jakub Wilk
next prev parent reply other threads:[~2020-06-06 18:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-06 13:18 core(5) Jonny Grant
2020-06-06 14:50 ` core(5) Jakub Wilk
2020-06-06 15:45 ` core(5) Jonny Grant
2020-06-06 18:32 ` Jakub Wilk [this message]
2020-06-06 19:39 ` core(5) Michael Kerrisk (man-pages)
2020-06-06 21:16 ` core(5) Jonny Grant
2020-06-08 16:18 ` core(5) Michael Kerrisk (man-pages)
2020-06-08 16:06 ` core(5) Michael Kerrisk (man-pages)
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=20200606183210.2tx7rjuryxrnh7d3@jwilk.net \
--to=jwilk@jwilk.net \
--cc=jg@jguk.org \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/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).