Timeline for What does the command "chattr +c /some/dir/" do?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 29, 2013 at 6:50 | vote | accept | pingz | ||
| Apr 28, 2013 at 16:35 | comment | added | Hauke Laging | @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. | |
| Apr 28, 2013 at 16:03 | comment | added | goldilocks | @pingz "Should" != "does" I guess. | |
| Apr 28, 2013 at 15:49 | comment | added | pingz | 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? | |
| Apr 28, 2013 at 15:31 | history | answered | Hauke Laging | CC BY-SA 3.0 |