From: itz@very.loosely.org (Ian Zimmerman)
Subject: [TUHS] rm command
Date: Fri, 27 Apr 2018 09:58:31 -0700 [thread overview]
Message-ID: <20180427165831.loewgjeqju6u2alh@matica.foolinux.mooo.com> (raw)
In-Reply-To: <alpine.BSF.2.21.999.1804280201170.62425@aneurin.horsfall.org>
On 2018-04-28 02:26, Dave Horsfall wrote:
> On my FreeBSD server:
>
> % ls -l /bin/ps
> -r-xr-xr-x 1 root wheel 35640 Oct 15 2017 /bin/ps
>
> On my crappy MacBook:
>
> % ls -l /bin/ps
> -rwsr-xr-x 1 root wheel 51200 Jul 15 2017 /bin/ps
Clearly this will depend on how ps is implemented, which is one of the
messier aspects of our favorite OS. If it does its thing just by
reading a pseudo-file or a pseudo-device, then setgid will be enough,
but maybe it needs to execute a root-only system call.
There is a longish thread on comp.unix.programmer right now about this
very topic.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.
next prev parent reply other threads:[~2018-04-27 16:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-25 22:17 Noel Chiappa
2018-04-27 16:26 ` Dave Horsfall
2018-04-27 16:58 ` Ian Zimmerman [this message]
2018-04-27 18:14 ` Steve Nickolas
2018-04-27 18:17 ` Pete Wright
2018-04-28 16:33 ` Michael Kjörling
2018-04-28 18:01 ` Ian Zimmerman
2018-04-28 18:51 ` Derek Fawcus
-- strict thread matches above, loose matches on Subject: below --
2018-04-27 16:42 Noel Chiappa
2018-04-26 2:19 Doug McIlroy
2018-04-26 9:41 ` Ralph Corderoy
2018-04-25 20:22 Eric Blood
2018-04-25 21:23 ` Ralph Corderoy
2018-04-25 21:33 ` John P. Linderman
2018-04-25 21:53 ` William Corcoran
2018-04-25 21:58 ` Derek Fawcus
2018-04-25 22:09 ` Ralph Corderoy
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=20180427165831.loewgjeqju6u2alh@matica.foolinux.mooo.com \
--to=itz@very.loosely.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).