chattr +a file

Submitted by Anonymous
on April 22, 2008 - 9:14pm

I'm trying to chattr +a some files, but I get the following:

Inappropriate ioctl for device while reading flags on [file].

What does this mean and how to remedy this?

don't

strcmp
on
April 22, 2008 - 10:13pm

easy remedy: don't try to chattr +a the file, it won't work

it is working on 2.6.9-1.667

Anonymous (not verified)
on
April 22, 2008 - 11:03pm

it is working on 2.6.9-1.667.-arch i386
not working on 2.6.22.19-alp_nl-alp -arch ppc.
could u give a clear idea about it

differences

strcmp
on
April 22, 2008 - 11:18pm

what are the differences between the machines besides distros and architecture? you make it sound like they are identical... how many ram do you have? what kernel options and/or modules do you have? which fs do you use? which toolchain?

suppose "not working" is on

Anonymous (not verified)
on
April 24, 2008 - 4:55pm

suppose "not working" is on another filesystem , which does not support chattr ?

Re: chattr +a file

Drew Frezell (not verified)
on
April 23, 2008 - 7:50am

Most likely you are trying to run 'chattr +a [file]' on an NFS mounted filesystem or some non ext2 FS, which doesn't support this.

I'm not sure how you remedy this other than make sure you are using a locally mounted disk that has ext2 FS on it.

Drew Frezell

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.