From mboxrd@z Thu Jan 1 00:00:00 1970 From: jnc@mercury.lcs.mit.edu (Noel Chiappa) Date: Fri, 27 Apr 2018 12:42:12 -0400 (EDT) Subject: [TUHS] rm command Message-ID: <20180427164212.BD94718C088@mercury.lcs.mit.edu> > From: Dave Horsfall > 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