]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
chmod.2, fsync.2, mkdir.2, mknod.2, open.2, truncate.2, umask.2, utime.2, utimensat...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 22 Apr 2017 20:05:37 +0000 (22:05 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 23 Apr 2017 18:21:15 +0000 (20:21 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/chmod.2
man2/fsync.2
man2/mkdir.2
man2/mknod.2
man2/open.2
man2/truncate.2
man2/umask.2
man2/utime.2
man2/utimensat.2

index fc077174255d79227dfe562eacdeaa3a15fc58c3..4f558198411c58496016aec3baf4ef861b9de4d2 100644 (file)
@@ -172,7 +172,7 @@ On some filesystems, only the superuser can set the sticky bit,
 which may have a special meaning.
 For the sticky bit, and for set-user-ID and set-group-ID bits on
 directories, see
-.BR stat (2).
+.BR inode (7).
 
 On NFS filesystems, restricting the permissions will immediately influence
 already open files, because the access control is done on the server, but
@@ -371,5 +371,6 @@ argument.
 .BR execve (2),
 .BR open (2),
 .BR stat (2),
+.BR inode (7),
 .BR path_resolution (7),
 .BR symlink (7)
index f42204b5e43b6a71aada42f840069b1a3f9f52b3..7026d6b764ce8a49327b41f7556fa8e0682bd73c 100644 (file)
@@ -71,7 +71,7 @@ was rebooted.
 This includes writing through or flushing a disk cache if present.
 The call blocks until the device reports that the transfer has completed.
 It also flushes metadata information associated with the file (see
-.BR stat (2)).
+.BR inode (7)).
 
 Calling
 .BR fsync ()
@@ -93,7 +93,7 @@ or
 .I st_mtime
 (respectively, time of last access and
 time of last modification; see
-.BR stat (2))
+.BR inode (7))
 do not require flushing because they are not necessary for
 a subsequent data read to be handled correctly.
 On the other hand, a change to the file size
index afffa1e7e710cf6a362a8bbf60aebfbaedc0e71a..dfb0343eecd512165c5d4da28fa7963e18de5808 100644 (file)
@@ -52,7 +52,7 @@ attempts to create a directory named
 The argument
 .I mode
 specifies the mode for the new directory (see
-.BR stat (2)).
+.BR inode (7)).
 It is modified by the process's
 .I umask
 in the usual way: in the absence of a default ACL, the mode of the
index c6d3d5a3a228f541773383f7eb8c8f2931ed35bf..c15014faa6325dcca51e810c6fdc6d6e7018e5fe 100644 (file)
@@ -62,7 +62,7 @@ argument specifies both the file mode to use and the type of node
 to be created.
 It should be a combination (using bitwise OR) of one of the file types
 listed below and zero or more of the file mode bits listed in
-.BR stat (2).
+.BR inode (7).
 
 The file mode is modified by the process's
 .I umask
index 20fe81089bf51ca2c64dbc5a7c2d1bb5a5478c15..e49543ac02c133432602eed3c0fec3e2eeb5b7dc 100644 (file)
@@ -350,11 +350,11 @@ On Linux, the following bits are also honored in
 .TP
 .B S_ISGID
 0002000 set-group-ID bit (see
-.BR stat (2))
+.BR inode (7)).
 .TP
 .B S_ISVTX
 0001000 sticky bit (see
-.BR stat (2))
+.BR inode (7)).
 .RE
 .TP
 .BR O_DIRECT " (since Linux 2.4.10)"
index 2477df9af664a9aa31a680e631ad43c2914e79c5..d78cdf0a7a25d1e1addee80cc5bd6643cd402b6b 100644 (file)
@@ -99,7 +99,7 @@ The file offset is not changed.
 If the size changed, then the st_ctime and st_mtime fields
 (respectively, time of last status change and
 time of last modification; see
-.BR stat (2))
+.BR inode (7))
 for the file are updated,
 and the set-user-ID and set-group-ID mode bits may be cleared.
 .LP
index 8f54540d3899f66b58b40aed87a52efb98b1c549..bbe6ca22cc968519b4deb7c6edc49c33f6b78b16 100644 (file)
@@ -81,8 +81,8 @@ argument of 0666 (rw-rw-rw-), the resulting file permissions would be 0644
 
 The constants that should be used to specify
 .I mask
-are described under
-.BR stat (2).
+are described in
+.BR inode (7).
 
 The typical default value for the process umask is
 .I S_IWGRP\ |\ S_IWOTH
index a5db4e3a69ff5443092424e4a3f06978b6545217..75db009174d3ebb7a4980c5c6578f7ef11265602 100644 (file)
@@ -189,4 +189,5 @@ on an append-only file.
 .BR stat (2),
 .BR utimensat (2),
 .BR futimens (3),
-.BR futimes (3)
+.BR futimes (3),
+.BR inode (7)
index ea188596bb4aff2534aa0be02814fcf4fb509f7f..b1e194b101d60718ddceea2f5afebe6f1b8d247f 100644 (file)
@@ -639,5 +639,6 @@ instead checks whether the
 .BR stat (2),
 .BR utimes (2),
 .BR futimes (3),
+.BR inode (7),
 .BR path_resolution (7),
 .BR symlink (7)