From owner-freebsd-stable Mon Jul 1 18:29:35 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA08243 for stable-outgoing; Mon, 1 Jul 1996 18:29:35 -0700 (PDT) Received: from expresslane.ca (expresslane.ca [205.233.74.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA08234 for ; Mon, 1 Jul 1996 18:29:27 -0700 (PDT) Received: from localhost (james@localhost) by expresslane.ca (8.7.5/8.7.3) with SMTP id VAA20678; Mon, 1 Jul 1996 21:29:10 -0400 (EDT) Date: Mon, 1 Jul 1996 21:29:09 -0400 (EDT) From: James FitzGibbon To: Nathan Torkington cc: stable@freebsd.org Subject: Re: Operation not permitted, all over -stable In-Reply-To: <199607011919.NAA05529@deimos.frii.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 1 Jul 1996, Nathan Torkington wrote: > gnat@elara (~) whoami > root > gnat@elara (~) rm /usr/bin/passwd > override r-sr-xr-x root/bin schg for /usr/bin/passwd? y > rm: /usr/bin/passwd: Operation not permitted > > Any suggestions? The key to look for is "schg". I believe it stands for "stop change". Several binaries (also the kernel) are installed with this flag (see the -f switch to install) during a make world. To remove them, use chflags noschg . The file can then be removed. A word of warning though - those files had the flag set for a reason, so watch what you remove it from. -- j. +--------------------------------------------------------------------------+ | James FitzGibbon james@expresslane.ca | | Internet Canada Corp. Voice/Fax: 416-363-8518/8713 | +--------------------------------------------------------------------------+