diff options
Diffstat (limited to 'man2/chmod.2')
-rw-r--r-- | man2/chmod.2 | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/man2/chmod.2 b/man2/chmod.2 index 255f76b1c..5b993550e 100644 --- a/man2/chmod.2 +++ b/man2/chmod.2 @@ -31,7 +31,7 @@ mode ", int " flags ); .P .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .nf @@ -84,21 +84,21 @@ more of the following: .TP 18 .BR S_ISUID " (04000)" set-user-ID (set process effective user ID on -.BR execve (2)) +.MR execve 2 ) .TP .BR S_ISGID " (02000)" set-group-ID (set process effective group ID on -.BR execve (2); +.MR execve 2 ; mandatory locking, as described in -.BR fcntl (2); +.MR fcntl 2 ; take a new file's group from parent directory, as described in -.BR chown (2) +.MR chown 2 and -.BR mkdir (2)) +.MR mkdir 2 ) .TP .BR S_ISVTX " (01000)" sticky bit (restricted deletion flag, as described in -.BR unlink (2)) +.MR unlink 2 ) .TP .BR S_IRUSR " (00400)" read by owner @@ -152,7 +152,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 inode (7). +.MR inode 7 . .P On NFS filesystems, restricting the permissions will immediately influence already open files, because the access control is done on the server, but @@ -207,7 +207,7 @@ instead operate on the link itself. This flag is not currently implemented. .P See -.BR openat (2) +.MR openat 2 for an explanation of the need for .BR fchmodat (). .SH RETURN VALUE @@ -226,7 +226,7 @@ are listed below: .B EACCES Search permission is denied on a component of the path prefix. (See also -.BR path_resolution (7).) +.MR path_resolution 7 .) .TP .B EBADF .RB ( fchmod ()) @@ -295,7 +295,7 @@ capability). .B EPERM The file is marked immutable or append-only. (See -.BR ioctl_iflags (2).) +.MR ioctl_iflags 2 .) .TP .B EROFS The named file resides on a read-only filesystem. @@ -337,11 +337,11 @@ POSIX.1-2008. Linux 2.6.16, glibc 2.4. .SH SEE ALSO -.BR chmod (1), -.BR chown (2), -.BR execve (2), -.BR open (2), -.BR stat (2), -.BR inode (7), -.BR path_resolution (7), -.BR symlink (7) +.MR chmod 1 , +.MR chown 2 , +.MR execve 2 , +.MR open 2 , +.MR stat 2 , +.MR inode 7 , +.MR path_resolution 7 , +.MR symlink 7 |