inotify.7: Add examples of syscalls that trigger IN_ATTRIB

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-03-31 21:38:20 +02:00
parent 79f8f40ccb
commit b0e1ac43e0
1 changed files with 13 additions and 2 deletions

View File

@ -191,8 +191,19 @@ File was accessed (e.g.,
.BR execve (2)).
.TP
.BR IN_ATTRIB " (*)"
Metadata changed\(emfor example, permissions, timestamps, extended attributes,
link count (since Linux 2.6.25), user ID, or group ID.
Metadata changed\(emfor example, permissions (e.g.,
.BR chmod (2)),
timestamps (e.g.,
.BR utimensat (2)),
extended attributes
.RB ( setxattr (2)),
link count (since Linux 2.6.25; e.g.,
for the target of
.BR link (2)
and for
.BR unlink (2)),
and user/group ID (e.g.,
.BR chown (2)).
.TP
.BR IN_CLOSE_WRITE " (*)"
File opened for writing was closed.