aboutsummaryrefslogtreecommitdiffstats
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
parentTemporary work around. Please revert me (diff)
downloadwireguard-go-23eca94508d7cef0c1adbbc37c81050899ca1d60.tar.xz
wireguard-go-23eca94508d7cef0c1adbbc37c81050899ca1d60.zip
Fix dir permissionsv0.0.20180514
Diffstat (limited to '')
-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
}