Skip to content

What is the "correct" or most elegant solution when /tmp is mounted with noexec? #8686

Answered by rokm
ee-github asked this question in PyInstaller
Discussion options

You must be logged in to vote

Should I instead set runtime-tmpdir=/different/tmpdir as a command line option at build time? Is there any downside to this?

Using runtime-tmpdir means that the path to temporary directory becomes hard-coded and impossible to change without a rebuild (and on POSIX systems, the path cannot contain environment variables). Whether you consider this a downside or an upside or are indifferent to it very much depends on your situation.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ee-github
Comment options

Answer selected by ee-github
Comment options

You must be logged in to vote
1 reply
@ee-github
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants