Black Dragon wrote:
> On Sun, 8 Oct 2000 19:22:27 +0200 in alt.linux,
> `Michael Madsen' said:
>
> >Hiya...
> >Anyone know what to do, when someone has screwed up ones Linux, so

you can't
> >delete certain files anymore??? Has he mengled with the
> >filesystem????....when I try to delete /bin/netstat it says: rm:

cannot
> >unlink `/bin/netstat': Operation not permitted..even though it's

chmodded
> >777..... ??
> >
> >Michael

>
> As root : "chattr -i /bin/netstat" : then you will be able to delete

it. See
> the man page for chattr, too.
>
> --
> Black Dragon


ok. What if that doesn't work? This is what I have:

[root@webct1 R]# ls -l
total 297804
drwx--x--- 25 3105 ftp 4096 May 8 2002 robertk
-rw-r--r-- 1 sherman root 70094469 Sep 23 2002 robertk.bk
-rw-r--r-- 1 root root 70094469 Sep 23 2002 robertk.crap
-rw-r--r-- 1 root root 94341120 Sep 24 2002
robertk.last.tar
-rw-r--r-- 1 root root 70094469 Sep 23 2002 robertk.tar
[root@webct1 R]# lsattr
-------------- ./robertk
-------------- ./robertk.bk
-------------- ./robertk.tar
-------------- ./robertk.last.tar
----ad-------- ./robertk.crap