| Summary: | The temporary directory used by jogl to unpack native libraries may not be executable | ||
|---|---|---|---|
| Product: | [JogAmp] Jogl | Reporter: | Mark Raynsford <org.jogamp> |
| Component: | core | Assignee: | Sven Gothel <sgothel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | sgothel |
| Priority: | --- | ||
| Version: | 2 | ||
| Hardware: | All | ||
| OS: | all | ||
| Type: | --- | SCM Refs: |
gluegen 1468286bf569a493e4fdb887d5f3732f88c8cec3
jogl 29e70f215069643c740e1b251490aa9edd61d2cb
|
| Workaround: | --- | ||
|
Description
Mark Raynsford
2012-06-13 14:54:44 CEST
Should probably be $XDG_CACHE_HOME/jogamp, or $HOME/.cache/jogamp. Fixed:
gluegen 1468286bf569a493e4fdb887d5f3732f88c8cec3
jogl 29e70f215069643c740e1b251490aa9edd61d2cb
Use alternative storage location if platform's temp directory is mounted w/ noexec ; IOUtil API change!
Test whether executable files can be launched in temporary folder
by trying to run an empty executable file - if !( WINDOWS | OPENKODE )
TempDir:
1) ${java.io.tmpdir}/jogamp
2) $XDG_CACHE_HOME/jogamp - if !( ANDROID | MACOS | WINDOWS | OPENKODE )
3) $HOME/.jogamp
$XDG_CACHE_HOME defaults to $HOME/.cache
- TempFileCache: ${TempDir}/file_cache -> ${java.io.tmpdir}/jogamp/file_cache
- LauncherTempFileCache: ${TempDir}/file_cache -> ${java.io.tmpdir}/jogamp/file_cache
|