I just created a file:
Made it "undeletable":
chattr +u myFile
and removed it:
How can I get it back? What is the purpose of "u"? Is it used?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
chattr man page:
The 'c', 's', and 'u' attributes are not honored by the ext2 and ext3 filesystems as implemented in the current mainline Linux kernels. These attributes may be implemented in future versions of the ext2 and ext3 filesystems.
This is present in the July 2012 version of the man page, so I suspect the same is true for ext4. My guess is that someone (the
chattr developer?) either experimented or planned to experiment with these features, but they were never stable or complete enough for the mainline kernel.
Pity; I'd appreciate a