From 9131f86215d51cd1785bb79169b82b740198563b Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 9 Jun 2021 14:20:58 -0400 Subject: [PATCH] island: remove misleading comment We don't check admin permissions at all, and admin is included in "everyone else". --- monkey/monkey_island/cc/server_utils/file_utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monkey/monkey_island/cc/server_utils/file_utils.py b/monkey/monkey_island/cc/server_utils/file_utils.py index e5a386684..668aa4356 100644 --- a/monkey/monkey_island/cc/server_utils/file_utils.py +++ b/monkey/monkey_island/cc/server_utils/file_utils.py @@ -22,8 +22,6 @@ def _has_expected_linux_permissions(path: str, expected_permissions: int) -> boo def _has_expected_windows_permissions(path: str, expected_permissions: int) -> bool: - # checks that user has `expected_permissions` and everyone else has no permissions - import win32api # noqa: E402 import win32security # noqa: E402