From 015c7608932d98255dbaa34b6954e80441ac8efe Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 14 Apr 2015 15:22:02 -0700 Subject: [PATCH] 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 --- src/os/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/types.go b/src/os/types.go index 473d431d4d2..9d6f8e13d6f 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 {