From: Ian Lance Taylor
Date: Wed, 18 Mar 2020 15:34:36 +0000 (-0700)
Subject: doc/go1.14: mention Windows change for Open permissions
X-Git-Tag: go1.15beta1~829
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e39de05186af24cec8a5f98258086e9899153e29;p=gostls13.git
doc/go1.14: mention Windows change for Open permissions
For #35033
Change-Id: Ie15353322d5cfe7320199103ad9543fb89a842ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/223957
Reviewed-by: Brendan Jackman
Reviewed-by: Bryan C. Mills
---
diff --git a/doc/go1.14.html b/doc/go1.14.html
index eb35fa8cae..478035360a 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -77,6 +77,18 @@ Do not send CLs removing the interior tags from such phrases.
(Data Execution Prevention) enabled.
+
+ On Windows, creating a file
+ via os.OpenFile
with
+ the os.O_CREATE
flag, or
+ via syscall.Open
with
+ the syscall.O_CREAT
+ flag, will now create the file as read-only if the
+ bit 0o200
(owner write permission) is not set in the
+ permission argument. This makes the behavior on Windows more like
+ that on Unix systems.
+
+
WebAssembly