Running $ORIGIN linked binaries from setuid scripts on linux
- by drscroogemcduck
I'm using suidperl to run some programs that require root permissions. however, the runtime linker won't expand library paths which contain $ORIGIN entries so the programs i want to run (jstack from java) won't run.
more info here
There is one exception to the advice to make heavy use of $ORIGIN. The runtime linker will not expand tokens like…