Date: Fri, 8 Feb 2002 02:03:07 +0200 (EET) From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Joseph Koenig <joe@jwebmedia.com> Cc: freebsd-questions@freebsd.org Subject: Re: rm /usr/lib/libcrypt.so.2: Operation not permitted Message-ID: <20020208020102.W22809-100000@hades> In-Reply-To: <3C5EE464.F5E9BC4D@jwebmedia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Joseph Koenig wrote:
> Why can root not delete a file? I was logged in as root, doing a 'make
> world' and got the following error:
>
> rm: libcrypt.so.2: Operation not permitted
> *** Error code 1
>
> Stop in /usr/src/lib/libcrypt.
> *** Error code 1
...
> How can I get rid of this problem? This is FreeBSD 4.2. Thanks,
The file is `schg' (marked as immutable).
Use chflags to remove the special flags from all the files that cannot be
removed. For instance, before I 'make buildworld', I use:
# cd /usr/obj
# chflags -R noschg *
# /bin/rm -fr *
to clean up my /usr/obj tree.
--
Giorgos Keramidas . . . . . . . . . keramida@{ceid.upatras.gr,freebsd.org}
FreeBSD Documentation Project . . . http://www.freebsd.org/docproj/
FreeBSD: The power to serve . . . . http://www.freebsd.org/
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?20020208020102.W22809-100000>
