An invincible file
William Park
opengeometry-FFYn/CNdgSA at public.gmane.org
Fri Mar 18 17:43:37 UTC 2011
On Fri, Mar 18, 2011 at 12:41:24PM -0400, Lennart Sorensen wrote:
> 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.
But, he already did that. I would've guessed 'lsattr', but that's clean
too.
--
William
--
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