diff options
author | Lukas Czerner <lczerner@redhat.com> | 2018-04-13 14:27:49 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-04-13 15:37:58 -0400 |
commit | d3f01729bff29e75b21994dc305e09fb055baff3 (patch) | |
tree | 144d05936dcea9e64735a9c080eabf01a24b16e4 /misc | |
parent | d5bd126cd6a06dd2a8652557776ea298fb442912 (diff) | |
download | android_external_e2fsprogs-d3f01729bff29e75b21994dc305e09fb055baff3.tar.gz android_external_e2fsprogs-d3f01729bff29e75b21994dc305e09fb055baff3.tar.bz2 android_external_e2fsprogs-d3f01729bff29e75b21994dc305e09fb055baff3.zip |
chattr.1: 'a' and 'i' attribute do not affect existing file descriptors
Change chattr man page to make it clear that 'i' and 'a' attributes
does not affect the ability to write to already existing file
descriptors
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/chattr.1.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/chattr.1.in b/misc/chattr.1.in index fba9cea0..028ae9e7 100644 --- a/misc/chattr.1.in +++ b/misc/chattr.1.in @@ -121,9 +121,9 @@ although it can be displayed by .PP A file with the 'i' attribute cannot be modified: it cannot be deleted or renamed, no link can be created to this file, most of the file's -metadata can not be modified, and no data can be written -to the file. Only the superuser or a process possessing the -CAP_LINUX_IMMUTABLE capability can set or clear this attribute. +metadata can not be modified, and the file can not be opened in write mode. +Only the superuser or a process possessing the CAP_LINUX_IMMUTABLE +capability can set or clear this attribute. .PP The 'I' attribute is used by the htree code to indicate that a directory is being indexed using hashed trees. It may not be set or reset using @@ -191,6 +191,8 @@ maintained by Theodore Ts'o <tytso@alum.mit.edu>. The 'c', 's', and 'u' attributes are not honored by the ext2, ext3, and ext4 filesystems as implemented in the current mainline Linux kernels. +Setting 'a' and 'i' attributes will not affect the ability to write +to already existing file descriptors. .PP The 'j' option is only useful for ext3 and ext4 file systems. .PP |