summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-06-24 11:09:02 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-09-11 12:03:37 -0500
commitf7f51060f38baecf5624830169ca2ec93f585dfe (patch)
tree6cf86797a71bd06f175040ae64d73998c7106e84
parent34e3eda93b4bec4c1f50719f513231b0cf510e92 (diff)
downloadvyos-1x-f7f51060f38baecf5624830169ca2ec93f585dfe.tar.gz
vyos-1x-f7f51060f38baecf5624830169ca2ec93f585dfe.zip
migration: T6007: drop restrictive perms, already set on config.boot
(cherry picked from commit 8b4c2fcba2fe49af8c8ee87d3bb1f7b5803a08ea)
-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