mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc-Jano Knopp <mjk@rbg.informatik.tu-darmstadt.de>
To: linux-kernel@vger.kernel.org
Subject: 2.4.6: chattr / lsattr does not work on directories anymore!
Date: Fri, 20 Jul 2001 13:42:52 +0200	[thread overview]
Message-ID: <20010720134252.A758@rbg.informatik.tu-darmstadt.de> (raw)

Since kernel 2.4.6, the commands 'lsattr' and 'chattr' do not work
anymore when applied to directories:

As root:

# mkdir x
# chattr +i x
chattr: Inappropriate ioctl for device while reading flags on x
# lsattr -d x
lsattr: Inappropriate ioctl for device While reading flags on x
#

The error message also appears when I try to get or set any of the
other ext2 flags. I need the ext2 immutable flag to protect some
of the directories on my system against accidental deletion (be it
my fault or a buggy program).

Kernels < 2.2.6 and 2.2.18 work fine.


Best regards,

  Marc-Jano
  

-- 
http://mjk.c64.org/


             reply	other threads:[~2001-07-20 11:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-20 11:42 Marc-Jano Knopp [this message]
2001-07-20 15:07 ` Andreas Dilger

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=20010720134252.A758@rbg.informatik.tu-darmstadt.de \
    --to=mjk@rbg.informatik.tu-darmstadt.de \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®