An invincible file

Dave Germiquet davegermiquet-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Mar 18 17:49:30 UTC 2011


Did you try chmod 777 config.xml ?

I think its possible to make the file chmod 000 config.xml as root and fix
it with root again by chmod 777 config.xml?


On Fri, Mar 18, 2011 at 1:43 PM, William Park <opengeometry-FFYn/CNdgSA at public.gmane.org> wrote:

> 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
>



-- 



Dave Germiquet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20110318/196f59dc/attachment.html>


More information about the Legacy mailing list