I packaged a script into an executable using PAR
. When I run it from a terminal it runs fine. I check /tmp and find there's a folder /tmp/par-rvosa with the cached contents of the archive. However, the executable is supposed to be invoked by a different process. When I try that, an empty par-SYSTEM folder appears in /tmp, and the executable just sits there doing nothing.
I assume this is a permissions issue - so how would I go about fixing this without changing my environment or /tmp permissions?