]> git.draconx.ca Git - scripts.git/commit
caa-fetcher: Create downloaded files with correct permissions.
authorNick Bowler <nbowler@draconx.ca>
Wed, 8 May 2019 01:26:29 +0000 (21:26 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 8 May 2019 01:34:43 +0000 (21:34 -0400)
commita45f6074d2ea16dc0cd7a59f6031a5c6b14b2e88
treec870b28a74a35c4f1cfe17c1d6f73a9a7d6161e1
parent4ff20e03039c9e4abda2adf838b3ed323c766532
caa-fetcher: Create downloaded files with correct permissions.

python's NamedTemporaryFile hardcodes a mode of 0600, which is wrong
for what we are trying to accomplish.  Downloaded files should be
created with default permissions (respecting umask, acls, etc.)
It's a real pain to fix up permissions after the fact so we'll
have to cook up our own version instead...
caa-fetcher.py