From owner-freebsd-questions Wed May 17 06:31:32 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id GAA03293 for questions-outgoing; Wed, 17 May 1995 06:31:32 -0700 Received: from vhf.dataradio.com (vhf.dataradio.com [198.168.41.55]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id GAA03287 for ; Wed, 17 May 1995 06:31:28 -0700 Received: from dri.UUCP (udri@localhost) by vhf.dataradio.com (8.6.9/8.6.9) with UUCP id JAA05173 for questions@freebsd.org; Wed, 17 May 1995 09:32:56 -0400 Message-Id: <199505171332.JAA05173@vhf.dataradio.com> Received: by dri (UUXFER v1.3d); Wed 17 May 1995 09:29:38 EDT From: "Andrew Webster" To: questions@FreeBSD.org Date: Wed, 17 May 1995 09:28:21 EST5EDT Subject: Re: rm: operation not permitted X-Confirm-Reading-To: "Andrew Webster" X-pmrqc: 1 Priority: normal X-mailer: Pegasus Mail v3.22 Sender: questions-owner@FreeBSD.org Precedence: bulk > By an unknown reason, I have some wrong entries on disk with random > dev and mode owner (at last) bits, e.g. an character-device in my > homedirectory. > Every time if I try to remove it with rm, I got "operation not permitted", > even as root. Fsck say nothing. How can I remove this entries? You problem is that there is a mode flag that can get set, usually on the kernel to prevent removal and so forth. Use the "ls -lo" command to see if the "schg" flag appears. If it does, you will need to use the chflags program to remove this flag. I hope this helps you! ----------------------------------------------------------------------- Andrew Webster Network Manager / Special Projects Dataradio Inc. 200-5500 Royalmount Ave. TEL: +1 514 737 0020 Town of Mount Royal, QC, CANADA H4P 1H7 FAX: +1 514 737 7883 http://www.dataradio.com Email: awebster@dataradio.com