mitogen-hq / mitogen

Distributed self-replicating programs in Python
https://mitogen.networkgenomics.com/
BSD 3-Clause "New" or "Revised" License
2.35k stars 199 forks source link

CI: Fix incorrect u=r,g=r,o=rw file permissions on mitogen__has_sudo_pubkey.key #1183

Closed moreati closed 3 weeks ago

moreati commented 3 weeks ago

The wrong base was used when calculating the mode. So the file became world readable and writable on a CI runner, until ansible/integration/ssh/variables.yml happened to correct it near the end of the integration tests.

I believe this was the only instance.

mitogen git:(issue1182) ✗ ag --python 'int\(.+7\)' . .ci | wc -l
       0

fixes #1182