An invincible file

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Mar 18 16:41:24 UTC 2011


On Fri, Mar 18, 2011 at 09:31:09AM -0700, Tyler Aviss wrote:
> I've got a file that for some reasons seems semi-invincible. Here's a
> quick overview (we'll call the file /opt/data/.config.xml).
> a) root # ls -ld .config.xml
> -rw-r--r-- 1 root root 4050 Mar 18 08:07 .config.xml
> 
> b) root # ls -ld /opt/data
> drwxr-xr-x 8 root root 4096 Oct  4 13:43 /opt/data/
> 
> c) Unmounted /opt, fsck'ed, and there are no visible FS errors
> 
> d) root # lsattr .config.xml
> ------------- .config.xml
> 
> e) root  # mount | grep opt
> /dev/sda3 on /opt type ext3 (rw)
> 
> 
> The file cannot be renamed or deleted. The contents *can* be edited.
> The filesystem isn't readonly, The file isn't undeletable/immutable.
> The user is root
> 
> 
> Any ideas

Time for an fsck.  You may have a corrupt directory, which could cause
that behaviour.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list