mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.6: chattr / lsattr does not work on directories anymore!
@ 2001-07-20 11:42 Marc-Jano Knopp
  2001-07-20 15:07 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Marc-Jano Knopp @ 2001-07-20 11:42 UTC (permalink / raw)
  To: linux-kernel

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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-20 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-20 11:42 2.4.6: chattr / lsattr does not work on directories anymore! Marc-Jano Knopp
2001-07-20 15:07 ` Andreas Dilger

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®