From: Michael Kerrisk Date: Fri, 24 Jul 2020 11:16:16 +0000 (+0200) Subject: open.2: Minor wording fixes X-Git-Tag: man-pages-5.08~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88f463a9be24eec79bf856dc4de7ec9ef226d8f3;p=thirdparty%2Fman-pages.git 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 --- diff --git a/man2/open.2 b/man2/open.2 index 2227f2159a..f83326cbc3 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