From: jnc@mercury.lcs.mit.edu (Noel Chiappa)
Subject: [TUHS] rm command
Date: Fri, 27 Apr 2018 12:42:12 -0400 (EDT) [thread overview]
Message-ID: <20180427164212.BD94718C088@mercury.lcs.mit.edu> (raw)
> From: Dave Horsfall <dave at horsfall.org>
> I am constantly bemused by the number of "setuid root" commands, when a
> simple "setgid whatever" will achieve the same task.
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/sys/ken/sys4.c
/*
* Unlink system call.
*/
unlink()
{ ...
if((ip->i_mode&IFMT)==IFDIR && !suser())
goto out;
For many things, yes. Not in this particular case.
Noel
next reply other threads:[~2018-04-27 16:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-27 16:42 Noel Chiappa [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-26 2:19 Doug McIlroy
2018-04-26 9:41 ` Ralph Corderoy
2018-04-25 22:17 Noel Chiappa
2018-04-27 16:26 ` Dave Horsfall
2018-04-27 16:58 ` Ian Zimmerman
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
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=20180427164212.BD94718C088@mercury.lcs.mit.edu \
--to=jnc@mercury.lcs.mit.edu \
/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).