Commit afd79150 authored by Tobias Klauser's avatar Tobias Klauser Committed by Brad Fitzpatrick

os: fix typo in Chmod godoc

Change-Id: I3e5c20d2ffbbe604e6c8b21e2afa50dd6c9f2b7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/176626
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 2e4edf46
...@@ -492,7 +492,7 @@ func UserHomeDir() (string, error) { ...@@ -492,7 +492,7 @@ func UserHomeDir() (string, error) {
// //
// On Windows, only the 0200 bit (owner writable) of mode is used; it // On Windows, only the 0200 bit (owner writable) of mode is used; it
// controls whether the file's read-only attribute is set or cleared. // controls whether the file's read-only attribute is set or cleared.
// The other bits are currently unused. For compatibilty with Go 1.12 // The other bits are currently unused. For compatibility with Go 1.12
// and earlier, use a non-zero mode. Use mode 0400 for a read-only // and earlier, use a non-zero mode. Use mode 0400 for a read-only
// file and 0600 for a readable+writable file. // file and 0600 for a readable+writable file.
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment