Skip to content

Commit

Permalink
try fixing permissions issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pczajka committed Aug 27, 2024
1 parent 4bffe79 commit 5817540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests_e2e/test_error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def _restrict_file_permissions_unix(path: Path) -> None:
def _restrict_file_permissions_windows(path: Path):
for user in windows_get_not_whitelisted_users_with_access(path):
subprocess.run(["icacls", str(path), "/DENY", f"{user}:F"])
subprocess.run(["icacls", str(path), "/GRANT", f"{os.getlogin()}:F"])


def _restrict_file_permissions(file_path: Path):
Expand Down

0 comments on commit 5817540

Please sign in to comment.