Re: Unremovable File

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Molina wrote:
> 
> On Sun, 1 Dec 2002, LaJchon McRight wrote:
> 
> > I tried changing with chmod.  I'm logged in as root and it still gives
> > me Operation not permitted when I try anything on this file.
> >
> 
> The inode looks severely bollixed.  If chattr doesn't allow you to remove
> it I don't know what to say.  The only other suggestion I would have is
> try booting from disk one and running fsck on the unmounted partition.

This is my favorite way to nuke a pesky file.

Get the inode # & use find to nuke it:

ls -i <file>

find . -xdev -inum <file inode #> -ok rm -f {} \;


Hopefully you don't have a hosed filesystem and/or disk/controller/other
hardware problems.


-tkb



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux