From owner-freebsd-stable Sun Oct 8 6:59:11 2000 Delivered-To: freebsd-stable@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id C2F5B37B503; Sun, 8 Oct 2000 06:59:07 -0700 (PDT) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 13iGyo-000AVr-00; Sun, 08 Oct 2000 13:59:06 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.0/8.11.0) id e98E1B397400; Sun, 8 Oct 2000 16:01:11 +0200 (CEST) (envelope-from wkb) Date: Sun, 8 Oct 2000 16:01:11 +0200 From: Wilko Bulte To: Mark Ovens Cc: Kent Stewart , Simon J Mudd , freebsd-stable@freebsd.org Subject: Re: make buildworld failing Message-ID: <20001008160111.A97340@freebie.demon.nl> References: <39E03D71.AC278983@urx.com> <20001008132312.A253@parish> <20001008154111.D96958@freebie.demon.nl> <20001008144909.D253@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001008144909.D253@parish>; from marko@freebsd.org on Sun, Oct 08, 2000 at 02:49:09PM +0100 X-OS: FreeBSD 4.1-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 08, 2000 at 02:49:09PM +0100, Mark Ovens wrote: > On Sun, Oct 08, 2000 at 03:41:11PM +0200, Wilko Bulte wrote: > > On Sun, Oct 08, 2000 at 01:23:12PM +0100, Mark Ovens wrote: > > > On Sun, Oct 08, 2000 at 02:25:05AM -0700, Kent Stewart wrote: ... > > > should be quicker as chflags(1) won't have to test every file (99% of which > > > won't have the schg flag set). > > > > To be honest I'm puzzled as to the usefulness of noschg in the first place. > > People already having root privs are not stopped by it. > > Oh yes they are: I'm familiar with the behaviour below. But I classify it as annoying, if root is too dim to be careful then... Wilko > /tmp # touch foobar > /tmp # chflags schg foobar > /tmp # ls -lo foobar > -rw-r--r-- 1 root wheel schg 0 8 Oct 14:46 foobar > /tmp # rm foobar > override rw-r--r-- root/wheel schg for foobar? y > rm: foobar: Operation not permitted > /tmp # rm -f foobar > rm: foobar: Operation not permitted > /tmp # whoami > root > /tmp # -- Wilko Bulte wilko@freebsd.org Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message