Skip site navigation (1)Skip section navigation (2)
Date:               Wed, 17 May 1995 09:28:21 EST5EDT
From:      "Andrew Webster" <awebster@dataradio.com>
To:        questions@FreeBSD.org
Subject:         Re: rm: operation not permitted
Message-ID:  <199505171332.JAA05173@vhf.dataradio.com>

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


> 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



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