From 88f463a9be24eec79bf856dc4de7ec9ef226d8f3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 24 Jul 2020 13:16:16 +0200 Subject: [PATCH] open.2: Minor wording fixes Add some paragraph breaks to the discussion of 'mode' to make the details a bit easier to read. Signed-off-by: Michael Kerrisk --- man2/open.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man2/open.2 b/man2/open.2 index 2227f2159..f83326cbc 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -303,12 +303,16 @@ nor is specified, then .I mode is ignored. +.IP The effective mode is modified by the process's .I umask in the usual way: in the absence of a default ACL, the mode of the created file is .IR "(mode\ &\ ~umask)" . -Note that this mode applies only to future accesses of the +.IP +Note that +.I mode +applies only to future accesses of the newly created file; the .BR open () call that creates a read-only file may well return a read/write