Am 29.01.2014 01:07, schrieb Bogdan Popa: > > My problem is that when I try to run pyinstaller myscript.py I get the > following error: "Security-Alert: try to store file outside of > dist-directory. Aborting. > '../../../../../../usr/lib/python2.7/config-x86_64-linux-gnu/Makefile'"
This look like a bug in hook-distutils.py or hook-sysconfig.py. This is where the Makefile is requested. Please help debugging this. Try to build a *minimal* program, which raises the error. Ideally it would only contain "import distutils" resp. "import sysconfig". Then please state wich version of Python you are using. If you could provide a simple batch-file for setting up a repoducable environment, this would help a lot. Thanks! > I don't understand why it needs to write to that location. Neither do I. And this is why this security wrning occurs. > Furthermore I've tried this on OS X and there it worked fine. -- Schönen Gruß Hartmut Goebel Dipl.-Informatiker (univ), CISSP, CSSLP Information Security Management, Security Governance, Secure Software Development Goebel Consult, Landshut http://www.goebel-consult.de Monatliche Kolumne: http://www.cissp-gefluester.de/2012-12-in-die-cloud-in-die-cloud-ab-wo-soll-die-sein Blog: http://www.goebel-consult.de/blog/funktioniert-sprachausgabe-inzwischen-brauchbar Goebel Consult ist Mitglied bei http://www.7-it.de/
smime.p7s
Description: S/MIME Cryptographic Signature
