From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 23:08:06 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501C11065688 for ; Mon, 11 Aug 2008 23:08:06 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id BF1158FC15 for ; Mon, 11 Aug 2008 23:08:05 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m7BN8hD4088622; Mon, 11 Aug 2008 18:08:43 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m7BN8hi3088621; Mon, 11 Aug 2008 18:08:43 -0500 (CDT) (envelope-from brooks) Date: Mon, 11 Aug 2008 18:08:43 -0500 From: Brooks Davis To: Rohit Tripathi Message-ID: <20080811230843.GA88605@lor.one-eyed-alien.net> References: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: cannot delete libc.so.7 from build directories X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 23:08:06 -0000 --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--