From: Brad Fitzpatrick Date: Tue, 14 Apr 2015 22:22:02 +0000 (-0700) Subject: os: clarify that ModePerm permission bits are the Unix ones X-Git-Tag: go1.5beta1~1070 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=015c7608932d98255dbaa34b6954e80441ac8efe;p=gostls13.git os: clarify that ModePerm permission bits are the Unix ones Fixes #7075 Change-Id: I57fcebaaef768b00263b6b91211b1434f6a4b229 Reviewed-on: https://go-review.googlesource.com/8919 Reviewed-by: Josh Bleecher Snyder --- diff --git a/src/os/types.go b/src/os/types.go index 473d431d4d..9d6f8e13d6 100644 --- a/src/os/types.go +++ b/src/os/types.go @@ -53,7 +53,7 @@ const ( // Mask for the type bits. For regular files, none will be set. ModeType = ModeDir | ModeSymlink | ModeNamedPipe | ModeSocket | ModeDevice - ModePerm FileMode = 0777 // permission bits + ModePerm FileMode = 0777 // Unix permission bits ) func (m FileMode) String() string {