forked from p15670423/monkey
Modify comment in monkey_island/cc/server_utils/file_utils.py
This commit is contained in:
parent
945e1adf58
commit
84b0664423
|
@ -22,8 +22,7 @@ def _has_expected_linux_permissions(path: str, expected_permissions: int) -> boo
|
||||||
|
|
||||||
|
|
||||||
def _has_expected_windows_permissions(path: str, expected_permissions: int) -> bool:
|
def _has_expected_windows_permissions(path: str, expected_permissions: int) -> bool:
|
||||||
# checks that admin has any permissions, user has `expected_permissions`,
|
# checks that user has `expected_permissions` and everyone else has no permissions
|
||||||
# and everyone else has no permissions
|
|
||||||
|
|
||||||
import win32api # noqa: E402
|
import win32api # noqa: E402
|
||||||
import win32security # noqa: E402
|
import win32security # noqa: E402
|
||||||
|
|
Loading…
Reference in New Issue