[issue25481] PermissionError in subprocess.check_output() when running as a different user (not login shell)
jaystrict
report at bugs.python.org
Mon Oct 26 14:13:11 EDT 2015
jaystrict added the comment:
I just found that a "chmod o+x /home/user1" fixes the problem in the sense that now a FileNotFoundError is thrown.
So I am very certain that you can reproduce this by making your home directory non-executable.
Could it be that python tries to access the "original" home directory somehow? For example to write to a pipe?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25481>
_______________________________________
More information about the Python-bugs-list
mailing list