Date: Wed, 1 Mar 2000 17:56:41 +0200 From: Ruslan Ermilov <ru@ucb.crimea.ua> To: "J. W. Ballantine" <jwb@homer.att.com> Cc: freebsd-questions@FreeBSD.org Subject: Re: Immutable files (was: Re: root not root??) Message-ID: <20000301175641.A18996@relay.ucb.crimea.ua> In-Reply-To: <20000301081759.T21720@fw.wintelcom.net>; from Alfred Perlstein on Wed, Mar 01, 2000 at 08:17:59AM -0800 References: <200003011531.KAA09053@akiva.homer.att.com> <20000301081759.T21720@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 01, 2000 at 08:17:59AM -0800, Alfred Perlstein wrote: > * J. W. Ballantine <jwb@homer.att.com> [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. > Directories affected as well, of course. `ls -ol' is your friend. -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000301175641.A18996>