Date: Fri, 5 May 2006 23:00:38 -0400 From: Kris Kennaway <kris@obsecurity.org> To: John Pettitt <jpp@cloudview.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: rm: Operation not permitted Message-ID: <20060506030038.GA14966@xor.obsecurity.org> In-Reply-To: <445C0FCF.20106@cloudview.com> References: <445C0FCF.20106@cloudview.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 05, 2006 at 07:54:07PM -0700, John Pettitt wrote: >=20 > I'm having trouble erasing some files - this on a 6.1RC system (built > from -STABLE) - I created a system image using his script: >=20 > #!/bin/sh > make buildworld KERNCONF=3DCLOCK > make buildkernel KERNCONF=3DCLOCK > mkdir -p /raid/diskless/clock > make installworld DESTDIR=3D/raid/diskless/clock > cd /usr/src/etc; make distribution DESTDIR=3D/raid/diskless/clock > cd /usr/src > make installkernel KERNCONF=3DCLOCK DESTDIR=3D/raid/diskless/clock >=20 > and now when I try to delete it this happens ... >=20 > # rm -rf clock > rm: clock/bin/rcp: Operation not permitted > rm: clock/bin: Directory not empty > rm: clock/lib/libcrypt.so.3: Operation not permitted > rm: clock/lib/libc.so.6: Operation not permitted > rm: clock/lib: Directory not empty > rm: clock/libexec/ld-elf.so.1: Operation not permitted > rm: clock/libexec: Directory not empty > rm: clock/sbin/init: Operation not permitted > rm: clock/sbin: Directory not empty >=20 > and so on. >=20 > The system is running at securelevel -1 and the rm fails even in single > user mode - what am I missing? chflags -R noschg Kris --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEXBFWWry0BWjoQKURAg0JAJ971+6/FYIaKB1f9k2lfwTBrKLlqACgz2jm iko+g9cGMJ5tJDXrKyQtc04= =ZKVU -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060506030038.GA14966>