summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/vyos/component_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/component_version.py b/python/vyos/component_version.py
index 6db1768d3..aebf90a0f 100644
--- a/python/vyos/component_version.py
+++ b/python/vyos/component_version.py
@@ -117,7 +117,7 @@ class VersionInfo:
def write(self, config_file):
string = self.write_string()
try:
- write_file(config_file, string, mode=0o660)
+ write_file(config_file, string)
except Exception as e:
raise ValueError(e) from e