summaryrefslogtreecommitdiffhomepage
path: root/uapi_darwin.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-15 19:57:43 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-15 19:57:43 +0200
commit23eca94508d7cef0c1adbbc37c81050899ca1d60 (patch)
tree990673126d0884fd491f2b78458b0963c9455ee8 /uapi_darwin.go
parent4312a7c70a58656891ff1398f2d0d36f4ed74c8a (diff)
Fix dir permissions
Diffstat (limited to 'uapi_darwin.go')
-rw-r--r--uapi_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/uapi_darwin.go b/uapi_darwin.go
index a5f2c3b..1441960 100644
--- a/uapi_darwin.go
+++ b/uapi_darwin.go
@@ -144,7 +144,7 @@ func UAPIOpen(name string) (*os.File, error) {
// check if path exist
- err := os.MkdirAll(socketDirectory, 0600)
+ err := os.MkdirAll(socketDirectory, 0700)
if err != nil && !os.IsExist(err) {
return nil, err
}