Commit 015c7608 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

os: clarify that ModePerm permission bits are the Unix ones

Fixes #7075

Change-Id: I57fcebaaef768b00263b6b91211b1434f6a4b229
Reviewed-on: https://go-review.googlesource.com/8919Reviewed-by: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
parent 3e6b7f35
......@@ -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 {
......
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