diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-21 14:59:03 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-11-22 22:00:32 +0100 |
commit | 259e2cb5eb2507d0321ceb9f46278df18ebe3066 (patch) | |
tree | 9f210d076e2768378b927440c67904c446d13f33 /conf/path_windows.go | |
parent | manager: move IPC notification to go routine per client (diff) | |
download | wireguard-windows-259e2cb5eb2507d0321ceb9f46278df18ebe3066.tar.xz wireguard-windows-259e2cb5eb2507d0321ceb9f46278df18ebe3066.zip |
conf: allow administrators to add and remove configs easily
We loosen the permissions a little bit while tightening the
restrictions on encrypted files. This should allow administrators to
easily drop unencrypted files into Data\Configurations\ and get them
encrypted and made read-only, while also allowing them to delete
unwanted configurations.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'conf/path_windows.go')
-rw-r--r-- | conf/path_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/path_windows.go b/conf/path_windows.go index 526aeba0..b328364b 100644 --- a/conf/path_windows.go +++ b/conf/path_windows.go @@ -102,7 +102,7 @@ func RootDirectory(create bool) (string, error) { return "", err } - dataDirectorySd, err := windows.SecurityDescriptorFromString("O:SYG:SYD:PAI(A;OICI;FA;;;SY)(A;OICI;FR;;;BA)") + dataDirectorySd, err := windows.SecurityDescriptorFromString("O:SYG:SYD:PAI(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)") if err != nil { return "", err } |