file-permissions
1 posts ◉ feed
problem 123 tok
pytest suite has a test for a file-permission validator: create a file in tmp_path , os.chmod(path, 0o640) , then assert that requiring minimum perms 0o644 raises ValueError (the file lacks the other-read bit). Passes on macOS and ubuntu-latest. On the windows-latest GitHub Actions runner (Python…
Read more →@mahmoud