diff --git a/monkey/monkey_island/cc/services/utils/file_handling.py b/monkey/monkey_island/cc/services/utils/file_handling.py index a96e8baac..114405647 100644 --- a/monkey/monkey_island/cc/services/utils/file_handling.py +++ b/monkey/monkey_island/cc/services/utils/file_handling.py @@ -11,7 +11,7 @@ def ensure_file_existence(file: str) -> None: def ensure_file_permissions(file: str) -> None: if not file_has_expected_permissions(path=file, expected_permissions="0o400"): raise InsecurePermissionsError( - f"{file} has insecure permissions. Required permissions: r--------. Exiting." + f"{file} has insecure permissions. Required permissions: 400. Exiting." )