Labels

Special Attributes on files

# chattr +a file1
allows write opening of a file only append mode [man]

# chattr +c file1
allows that a file is compressed / decompressed automatically by the kernel [man]

# chattr +d file1
makes sure that the program ignores Dump the files during backup [man]

# chattr +i file1
makes it an immutable file, which can not be removed, altered, renamed or linked [man]

# chattr +s file1
allows a file to be deleted safely [man]

# chattr +S file1
makes sure that if a file is modified changes are written in synchronous mode as with sync [man]

# chattr +u file1
allows you to recover the contents of a file even if it is canceled [man]

# lsattr
show specials attributes [man]