Date: Sun, 2 Nov 1997 12:15:12 +0200 From: "Eugene Shvetc" <eugene@shvetc.marka.net.ua> To: "Morgan Davis" <mdavis@io.cts.com> Cc: <freebsd-stable@freebsd.org> Subject: Re: unremovable library files Message-ID: <01bce778$34d50a00$bbdbc1c1@eugene.shvetc.marka.net.ua>
next in thread | raw e-mail | index | archive | help
>I've successfully cvsupped 2.2.5-RELEASE sources, made world, rebooted >several times, and all is quite dandy. However, my drive where I keep >/usr/src and /usr/obj is at 95%. To free some space, I wanted to >remove all the stuff in the obj directory. An rm -r did the trick, >except it refuses to remove the following files and directories in >/usr/obj/tmp: > >total 3 >drwxr-xr-x 2 bin bin 2048 Nov 2 00:41 lib/ >drwxr-xr-x 2 bin bin 512 Nov 2 00:41 libexec/ > >./lib: >total 486 >-r--r--r-- 1 bin bin 451474 Oct 25 03:06 libc.so.3.0 >-r--r--r-- 1 bin bin 12583 Oct 25 02:03 libcipher.so.2.0 >-r--r--r-- 1 bin bin 16698 Oct 25 03:06 libdescrypt.so.2.0 > >./libexec: >total 68 >-r-xr-xr-x 1 bin bin 69632 Oct 25 00:35 ld.so* > > >I get "operation not permitted" errors (yes, I'm root). I'm not sure >I understand why libraries that were built in /usr/obj/tmp and >installed into their rightful locations refuse to be deleted even >after rebooting. Further, ldconfig doesn't include /usr/obj/tmp/lib >or /usr/obj/tmp/libexec at boot time. So I'm baffled. > >What's up with this? > >--Morgan > Try ls -lo. There files have schg flag. You can remove it using chflags -R noschg /usr/obj/tmp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bce778$34d50a00$bbdbc1c1>