summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-06-24 11:09:02 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-06-26 15:45:19 -0500
commit8b4c2fcba2fe49af8c8ee87d3bb1f7b5803a08ea (patch)
tree2c80460bc725201fd540242d4110337e2dbfe804 /python
parented0cb7ffc2c627b9de96d64b45c7978c3bce7ed3 (diff)
downloadvyos-1x-8b4c2fcba2fe49af8c8ee87d3bb1f7b5803a08ea.tar.gz
vyos-1x-8b4c2fcba2fe49af8c8ee87d3bb1f7b5803a08ea.zip
migration: T6007: drop restrictive perms, already set on config.boot
Diffstat (limited to 'python')
-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