at master 1.2 kB view raw
1diff --git a/daemon/service/platform/platform.go b/daemon/service/platform/platform.go 2index 941a99a7..df821c4d 100644 3--- a/daemon/service/platform/platform.go 4+++ b/daemon/service/platform/platform.go 5@@ -111,12 +111,6 @@ func Init() (warnings []string, errors []error, logInfo []string) { 6 } 7 8 // checking file permissions 9- if err := checkFileAccessRightsStaticConfig("openvpnCaKeyFile", openvpnCaKeyFile); err != nil { 10- errors = append(errors, err) 11- } 12- if err := checkFileAccessRightsStaticConfig("openvpnTaKeyFile", openvpnTaKeyFile); err != nil { 13- errors = append(errors, err) 14- } 15 16 if len(openvpnUpScript) > 0 { 17 if err := checkFileAccessRightsExecutable("openvpnUpScript", openvpnUpScript); err != nil { 18@@ -149,9 +143,6 @@ func Init() (warnings []string, errors []error, logInfo []string) { 19 if err := checkFileAccessRightsExecutable("dnscryptproxyBinPath", dnscryptproxyBinPath); err != nil { 20 errors = append(errors, err) 21 } 22- if err := checkFileAccessRightsStaticConfig("dnscryptproxyConfigTemplate", dnscryptproxyConfigTemplate); err != nil { 23- errors = append(errors, err) 24- } 25 26 if len(routeCommand) > 0 { 27 routeBinary := strings.Split(routeCommand, " ")[0]