Special Attributes on files (use "+" to set permissions and "-" to remove) | |
chattr +a file1 | allows write opening of a file only append mode |
chattr +c file1 | allows that a file is compressed / decompressed automatically by the kernel |
chattr +d file1 | makes sure that the program ignores Dump the files during backup |
chattr +i file1 | makes it an immutable file, which can not be removed, altered, renamed or linked |
chattr +s file1 | allows a file to be deleted safely |
chattr +S file1 | makes sure that if a file is modified changes are written in synchronous mode as with sync |
chattr +u file1 | allows you to recover the contents of a file even if it is canceled |
lsattr | show specials attributes |
Wednesday, January 30, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment