TUN-1138: Install cloudflared service directory with 755 permissions

This commit is contained in:
Areg Harutyunyan 2019-01-07 13:46:21 -06:00
parent ef400afe00
commit 8a099d8f6e
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func runCommand(command string, args ...string) error {
func ensureConfigDirExists(configDir string) error {
ok, err := config.FileExists(configDir)
if !ok && err == nil {
err = os.Mkdir(configDir, 0700)
err = os.Mkdir(configDir, 0755)
}
return err
}