From b0e1ac43e05e2eea32b03c126df1ecf1d34245e6 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 31 Mar 2014 21:38:20 +0200 Subject: [PATCH] inotify.7: Add examples of syscalls that trigger IN_ATTRIB Signed-off-by: Michael Kerrisk --- man7/inotify.7 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/man7/inotify.7 b/man7/inotify.7 index 73be8dc7e..072d91dcd 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -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.