Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 18:08:43 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Rohit Tripathi <rohit.trip@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cannot delete libc.so.7 from build directories
Message-ID:  <20080811230843.GA88605@lor.one-eyed-alien.net>
In-Reply-To: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com>
References:  <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--vkogqOf2sHV7VnPd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 11, 2008 at 07:04:53PM -0400, Rohit Tripathi wrote:
> I tried this from runlevel 1 as root and still can't seem to get rid of t=
hese
>=20
> rm: obj.old/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted
> rm: obj.old/usr/src/lib32/usr/lib32/libcrypt.so.4: Operation not permitted
> rm: obj.old/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted
> rm: obj.old/usr/src/lib32/usr/lib32/libkse.so.3: Operation not permitted
> rm: obj.old/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted
> rm: obj.old/usr/src/lib32/usr/lib32: Directory not empty
> rm: obj.old/usr/src/lib32/usr: Directory not empty
> rm: obj.old/usr/src/lib32: Directory not empty
> rm: obj.old/usr/src: Directory not empty
> rm: obj.old/usr: Directory not empty
> rm: obj.old: Directory not empty
> rm: obj.old2/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted
> rm: obj.old2/usr/src/lib32/usr/lib32/libcrypt.so.4: Operation not permitt=
ed
> rm: obj.old2/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted
> rm: obj.old2/usr/src/lib32/usr/lib32/libkse.so.3: Operation not permitted
> rm: obj.old2/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted
> rm: obj.old2/usr/src/lib32/usr/lib32: Directory not empty
> rm: obj.old2/usr/src/lib32/usr: Directory not empty
> rm: obj.old2/usr/src/lib32: Directory not empty
> rm: obj.old2/usr/src: Directory not empty
> rm: obj.old2/usr: Directory not empty
> rm: obj.old2: Directory not empty

Certain critical files are marked with the schg flag to prevent accidental
deletion.  You can remove them by running:

chflags -R noschge obj.old obj.old2
rm -rf obj.old obj.old2

-- Brooks

--vkogqOf2sHV7VnPd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iD8DBQFIoMZ6XY6L6fI4GtQRAgHsAJ9uhRXv2QIjPJV1ExpXLxWb+S54zACgjPmw
PhPGHnxmdm5d+rkRF6fzZp4=
=BBWF
-----END PGP SIGNATURE-----

--vkogqOf2sHV7VnPd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080811230843.GA88605>