]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
user_namespaces.7: Describe how kernel treats UIDs/GIDs when a process access to...
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 1 Jul 2019 09:11:19 +0000 (11:11 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 1 Jul 2019 09:11:19 +0000 (11:11 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/user_namespaces.7

index 8492f9f2c969bb7a0b502915b9c621f4045d4413..f8dbc8217e0c0fd09afba8d740347fdc207455cc 100644 (file)
@@ -867,6 +867,17 @@ that field is displayed as 4294967295 (\-1 as an unsigned integer).
 .\"
 .\" ============================================================
 .\"
+.SS Accessing files
+.PP
+In order to determine permissions when an unprivileged process accesses a file
+(or other resource such as a System V IPC object),
+the process credentials (UID, GID) and the file credentials
+are in effect mapped back to what they would be in
+the initial user namespace and then compared to determine
+the permissions that the process has on the file.
+.\"
+.\" ============================================================
+.\"
 .SS Set-user-ID and set-group-ID programs
 .PP
 When a process inside a user namespace executes