summaryrefslogtreecommitdiffhomepage
path: root/uapi_linux.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_linux.go
parent4312a7c70a58656891ff1398f2d0d36f4ed74c8a (diff)
Fix dir permissions
Diffstat (limited to 'uapi_linux.go')
-rw-r--r--uapi_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/uapi_linux.go b/uapi_linux.go
index 45be0f5..41e5325 100644
--- a/uapi_linux.go
+++ b/uapi_linux.go
@@ -146,7 +146,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
}