CHATTR(1) | General Commands Manual | CHATTR(1) |
NAME
chattr - change file attributes on a Linux file systemSYNOPSIS
chattr [ -RVf ] [ -v version ] [ mode ] files...DESCRIPTION
chattr changes the file attributes on a Linux file system.OPTIONS
- -R
- Recursively change attributes of directories and their contents.
- -V
- Be verbose with chattr's output and print the program version.
- -f
- Suppress most error messages.
- -v version
- Set the file's version/generation number.
ATTRIBUTES
A file with the 'a' attribute set can only be open in append mode for writing. Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE capability can set or clear this attribute.AUTHOR
chattr was written by Remy Card <Remy.Card@linux.org>. It is currently being maintained by Theodore Ts'o <tytso@alum.mit.edu>.BUGS AND LIMITATIONS
The 'c', 's', and 'u' attributes are not honored by the ext2, ext3, and ext4 filesystems as implemented in the current mainline Linux kernels.AVAILABILITY
chattr is part of the e2fsprogs package and is available from http://e2fsprogs.sourceforge.net.SEE ALSO
lsattr(1), btrfs(5), ext4(5), xfs(5).May 2015 | E2fsprogs version 1.42.13 |