Skip to content

Commit e29c05d

Browse files
committed
allow zonewriter move across filesystems
1 parent 875ce16 commit e29c05d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cwm_cdn_api/domains/zone_writer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ async def main(zone_filepath, daemon=False):
7575
except:
7676
os.remove(tmp.name)
7777
raise
78+
os.chmod(zone_filepath, 0o755)
7879
with open(zone_filepath_json, 'w') as f:
7980
f.write(apex_records_json)
8081
print(f'Wrote {num_records} records in {num_apex} zones to {zone_filepath}', file=sys.stderr)

0 commit comments

Comments
 (0)