diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-15 19:57:43 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-15 19:57:43 +0200 |
commit | 23eca94508d7cef0c1adbbc37c81050899ca1d60 (patch) | |
tree | 990673126d0884fd491f2b78458b0963c9455ee8 /uapi_linux.go | |
parent | 4312a7c70a58656891ff1398f2d0d36f4ed74c8a (diff) |
Fix dir permissions
Diffstat (limited to 'uapi_linux.go')
-rw-r--r-- | uapi_linux.go | 2 |
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 } |