From 8b4c2fcba2fe49af8c8ee87d3bb1f7b5803a08ea Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 24 Jun 2024 11:09:02 -0500 Subject: migration: T6007: drop restrictive perms, already set on config.boot --- python/vyos/component_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3