Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • i did read the man page, and chattr comes from e2fsprogs a file system utilities supports Ext2/3/4, it just make me more confused. further more, if kernel did not support c option, should chattr return an error or something? Commented Apr 28, 2013 at 15:49
  • @pingz "Should" != "does" I guess. Commented Apr 28, 2013 at 16:03
  • @pingz As you noted yourself "every line has a c in it" chattr did it right, didn't fail. So why should it return an error? How is it supposed to know what the kernel will do with this information? On the other hand it would perhaps make sense for the kernel to return an error on trying to set this attribute. Commented Apr 28, 2013 at 16:35