> Why would one need to run PyInstaller as root? Hartmut, I'm talking about fakeroot. Not running as root. The current check breaks running as fakeroot. Which runs under user context faking root context.
"man fakeroot" fakeroot - run a command in an environment faking root privileges for file manipulation > Could you describe your use case about pretending running pyinstaller as root? Martin, as I said initially I'm running PyInstaller from "dpkg-buildpackage -r fakeroot" this invokes PyInstaller and when building deb files I need to make sure the file privileges of some of the files in the package are correct. Hartmut, FYI also I'm only jesting (trolling) to a minimal account. The current solution gives a false sense of added security. My point solve the root cause, do not create a work-around that works for some situations. I agree that it is good to have the check there, but please change it to warn the hell out of an uninformed user and allow for some means of overwriting it for those edge-cases that the check does not correctly detect. > Do you have a suggestion how to reliably detect that pyinstaller is running under fakeroot? Martin, not at the moment. On Monday, March 25, 2013 10:21:14 PM UTC+1, Martin Z wrote: > > Joachim Metz píše v Ne 24. 03. 2013 v 11:19 -0700: > > For now I'll need to hack it out. I would appreciate if you change it > > to give a warning but still allow it to be ignored in the case of > > fakeroot. > > Could you describe your use case about pretending running pyinstaller as > root? > > Do you have a suggestion how to reliably detect that pyinstaller is > running under fakeroot? > > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
