Skip to content

Commit

Permalink
os: clarify that ModePerm permission bits are the Unix ones
Browse files Browse the repository at this point in the history
Fixes golang#7075

Change-Id: I57fcebaaef768b00263b6b91211b1434f6a4b229
Reviewed-on: https://go-review.googlesource.com/8919
Reviewed-by: Josh Bleecher Snyder <[email protected]>
  • Loading branch information
bradfitz committed Apr 16, 2015
1 parent 3e6b7f3 commit 015c760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 015c760

Please sign in to comment.