From owner-cvs-usrbin Fri Oct 4 10:14:43 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA29749 for cvs-usrbin-outgoing; Fri, 4 Oct 1996 10:14:43 -0700 (PDT) Received: from sequent.kiae.su (sequent.kiae.su [193.125.152.6]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id KAA29714; Fri, 4 Oct 1996 10:14:29 -0700 (PDT) Received: by sequent.kiae.su id AA07918 (5.65.kiae-2 ); Fri, 4 Oct 1996 21:06:10 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Fri, 4 Oct 96 21:06:08 +0400 Received: (from ache@localhost) by nagual.ru (8.7.6/8.7.3) id VAA00748; Fri, 4 Oct 1996 21:05:12 +0400 (MSD) Message-Id: <199610041705.VAA00748@nagual.ru> Subject: Re: cvs commit: src/usr.bin/find extern.h find.1 find.h function.c option.c In-Reply-To: <199610041625.AAA16884@spinner.DIALix.COM> from "Peter Wemm" at "Oct 5, 96 00:25:06 am" To: peter@spinner.dialix.com (Peter Wemm) Date: Fri, 4 Oct 1996 21:05:11 +0400 (MSD) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL28 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > However, rm -f will turn off the user immutable bit if run by root. > Perhaps I should recover the code, but only let it turn off the *USER* > immutable bit, just like rm -f does? > > At least that'll stop users creating user-immutable files in /tmp to annoy > the sysadmin... I talk about this thing exactly. When I change 'rm -f' long time ago, primary goal will be to allow root to delete user-immutable files in /tmp (not root-immutable!). find -delete must do the same thing to be good 'rm -f' replacement. -- Andrey A. Chernov http://www.nagual.ru/~ache/