Here I think that could `import os` and use `os.chmod` like is done on `tests/cli/test_template.py`