rschupp / PAR-Packer

(perl) Generate stand-alone executables, perl scripts and PAR files https://metacpan.org/pod/PAR::Packer
Other
48 stars 13 forks source link

private subdirectory %s is unsafe (please remove it and retry your operation) #50

Open leandrocombr opened 3 years ago

leandrocombr commented 3 years ago

How to resolve this error?

root@athusbsd:/usr/local/www/apache24/data # uname -a FreeBSD bsd.local 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:46:20 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 when i run

root@athusbsd:/usr/local/www/apache24/data # pp -x -c -o a.bin tt.pl /tmp/GEekK1zmPl syntax OK root@athusbsd:/usr/local/www/apache24/data # cat a.bin

^@par-^@%s%stemp-%u%s^@.^@PERLIO^@PAR_CLEAN=^@TMP^@%s%stemp-%u-%u%s^@/^@PERL5LIB^@ USERNAME^@PAR_GLOBAL_DEBUG^@/tmp/^@parl^@PAR_DEBUG^@PAR_CACHE^@PAR_GLOBAL_TMPDIR^@%02x^@%s%s%s%s^@%s: extraction of %s (custom Perl interpreter) failed (er rno=%i) ^@par^@LD_LIBRARY_PATH^@TEMP^@TMPDIR^@.par^@PAR_TEMP^@SYSTEM^@/proc/%i/%s^@PAR_CLEAN^@PAR_SPAWNED^@%s: private subdirectory %s is unsafe ( please remove it and retry your operation) ^@PAR_PROGNAME^@PAR_INITIALIZED^@%s%scache-%s%s^@%s: extraction of %s failed (errno=%i) ^@PAR_GLOBAL_TEMP^@%s/%s^@1^@PAR_GLOBAL_CLEAN^@USER^@PATH^@%s: creation of private cache subdirectory %s failed (errno= %i)

Script does not run in apache

Internal Server Error

[Mon Aug 16 10:18:56.832747 2021] [cgi:error] [pid 8594] [client 192.168.1.103:6969] End of script output before headers: xx.pl

rschupp commented 3 years ago

Please describe what you did and what error you got - I can't make any sense of this

leandrocombr commented 3 years ago

cpanm git://github.com/rschupp/Module-ScanDeps.git

I installed version 1.32 it worked!