So I have a python script that I compile with pyinstaller to a single file. 
at the time of running, by default, the script will unbundle the modules 
in /tmp/ also you can change the default TMPDIR at the time of compilation 
<https://pyinstaller.readthedocs.io/en/stable/when-things-go-wrong.html?highlight=tmp#operation-not-permitted-error>
.

*PROBLEM*: As you might know, this is a common security practice that you 
mount /tmp/ or /var/tmp/ as a noexec. the problem is that my script can't 
execute the modules from /tmp/ or /var/tmp/ on some of my client's servers.

*QUESTION*: I want to change my scripts TMPDIR to somewhere else to prevent 
this problem, where is the standard location for something like this?

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/7ef8ec84-c4c3-422b-9844-37e187ee4a70n%40googlegroups.com.

Reply via email to