From owner-freebsd-questions Wed Mar 1 7:47:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id B1B3537B7C4 for ; Wed, 1 Mar 2000 07:47:36 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id IAA25956; Wed, 1 Mar 2000 08:17:59 -0800 (PST) Date: Wed, 1 Mar 2000 08:17:59 -0800 From: Alfred Perlstein To: "J. W. Ballantine" Cc: freebsd-questions@FreeBSD.ORG Subject: Immutable files (was: Re: root not root??) Message-ID: <20000301081759.T21720@fw.wintelcom.net> References: <200003011531.KAA09053@akiva.homer.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200003011531.KAA09053@akiva.homer.att.com>; from jwb@homer.att.com on Wed, Mar 01, 2000 at 10:31:33AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * J. W. Ballantine [000301 08:07] wrote: > > Hi all, > > I'm running 3.4-STABLE #4. > > I have a partition that originally was mounted as /usr. But when I added > another disk, in order to get more space I created another partition for > /usr and I'm now mounting the old usr part. on another mount point (/foo). > > Now I want to use the space on /foo, so I'm trying to rm all the old files, > but there are some that are r-sr-xr-x that I can't rm. When I become root, > either via, logging in as root or booting in single user mode, and I > try to chmod u-s file, I get the message Operation not permitted. > > What do I have to do, short of reformating the part., to rm these files?? The files are marked immutable, you must use 'chflags' to remove the bit before you can rm. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message