All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Andrew Lutomirski <andy@luto.us>
Cc: linux-ext4@vger.kernel.org
Subject: Re: How do I clear the append-only flag on symlinks?
Date: Sat, 22 Oct 2011 01:16:44 -0400	[thread overview]
Message-ID: <20111022051644.GD4196@thunk.org> (raw)
In-Reply-To: <CAObL_7FLTio3+X3iQ3sdHw156OvmjT92_AD0vKTSagNTkaF9fQ@mail.gmail.com>

On Fri, Oct 21, 2011 at 11:07:51AM -0700, Andrew Lutomirski wrote:
> 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.

Yes.  So how did you set a whole chunk of your file system
append-only?

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

I'd probably hack it into e2fsck, and let it offer to clear the
append-only flag on things that aren't regular files, on the theory
that they should have never been allowed to be set to begin with.

     	  	      	    	 	 - Ted

  reply	other threads:[~2011-10-22  7:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 18:07 How do I clear the append-only flag on symlinks? Andrew Lutomirski
2011-10-22  5:16 ` Ted Ts'o [this message]
2011-10-22  8:57   ` Andrew Lutomirski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111022051644.GD4196@thunk.org \
    --to=tytso@mit.edu \
    --cc=andy@luto.us \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.