In my run method I have:
filename = ‘/root/st2-%s.out’ % timestamp
with open(filename , ‘w’) as file:
file.write(json.dumps(payload))
This works, however if I try to put the file in /tmp I get no output file. Anyone know why I can’t write to /tmp? Are there other rules around security, etc. that I should be aware of?
Thanks!!