diff --git a/src/service.py b/src/service.py index c45926df..0b5fa3ff 100644 --- a/src/service.py +++ b/src/service.py @@ -278,6 +278,7 @@ def validate_exporter_configs(self) -> Tuple[bool, str]: def write_to_file(path: Path, content: str, mode: Optional[int] = None) -> bool: """Write to file with provided content. + It's important to first set the permissions to then write the content because it might have sensitive information like password. """