TUN-1138: Install cloudflared service directory with 755 permissions
This commit is contained in:
parent
ef400afe00
commit
8a099d8f6e
|
@ -96,7 +96,7 @@ func runCommand(command string, args ...string) error {
|
||||||
func ensureConfigDirExists(configDir string) error {
|
func ensureConfigDirExists(configDir string) error {
|
||||||
ok, err := config.FileExists(configDir)
|
ok, err := config.FileExists(configDir)
|
||||||
if !ok && err == nil {
|
if !ok && err == nil {
|
||||||
err = os.Mkdir(configDir, 0700)
|
err = os.Mkdir(configDir, 0755)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue