We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e577ba9 commit b620f6fCopy full SHA for b620f6f
doc/go1.14.html
@@ -77,6 +77,18 @@ <h3 id="windows">Windows</h3>
77
(Data Execution Prevention)</a> enabled.
78
</p>
79
80
+<p><!-- CL 202439 -->
81
+ On Windows, creating a file
82
+ via <a href="/pkg/os#CreateFile"><code>os.OpenFile</code></a> with
83
+ the <a href="/pkg/os/#O_CREATE"><code>os.O_CREATE</code></a> flag, or
84
+ via <a href="/pkg/syscall#Open"><code>syscall.Open</code></a> with
85
+ the <a href="/pkg/syscall#O_CREAT"><code>syscall.O_CREAT</code></a>
86
+ flag, will now create the file as read-only if the
87
+ bit <code>0o200</code> (owner write permission) is not set in the
88
+ permission argument. This makes the behavior on Windows more like
89
+ that on Unix systems.
90
+</p>
91
+
92
<h3 id="wasm">WebAssembly</h3>
93
94
<p><!-- CL 203600 -->
0 commit comments