[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAObL_7FLTio3+X3iQ3sdHw156OvmjT92_AD0vKTSagNTkaF9fQ@mail.gmail.com>
Date: Fri, 21 Oct 2011 11:07:51 -0700
From: Andrew Lutomirski <andy@...o.us>
To: linux-ext4@...r.kernel.org
Subject: How do I clear the append-only flag on symlinks?
By means that are best not admitted to, I managed to mark a large
chunk of my filesystem append-only, including symlinks. I cleared the
flag from all the normal files and directories, but chattr and lsattr
don't want to operate on symlinks. They say things like:
$ sudo lsattr /boot/vmlinuz
lsattr: Operation not supported While reading flags on /boot/vmlinuz
and I can't delete them, because
$ sudo rm /boot/vmlinuz
rm: cannot remove `/boot/vmlinuz': Operation not permitted
Any ideas on how to clear the append-only flags? debug2fs is a little
scary, and hacking e2fsprogs to allow operation on symlinks seems to
affect symlink targets and not the symlinks themselves.
--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists