New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
subprocess test cases fail with noexec-mounted /tmp #42989
Comments
Hi, on my Linux box two subprocess tests always fail (see What I expected from the tests is to either find a Test output: Traceback (most recent call last):
File
"/home/calvin/src/python-svn/Lib/test/test_subprocess.py",
line 490, in test_args_string
p = subprocess.Popen(fname)
File "/home/calvin/src/python-svn/Lib/subprocess.py",
line 580, in __init__
errread, errwrite)
File "/home/calvin/src/python-svn/Lib/subprocess.py",
line 1033, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied ====================================================================== Traceback (most recent call last):
File
"/home/calvin/src/python-svn/Lib/test/test_subprocess.py",
line 532, in test_call_string
rc = subprocess.call(fname)
File "/home/calvin/src/python-svn/Lib/subprocess.py",
line 431, in call
return Popen(*popenargs, **kwargs).wait()
File "/home/calvin/src/python-svn/Lib/subprocess.py",
line 580, in __init__
errread, errwrite)
File "/home/calvin/src/python-svn/Lib/subprocess.py",
line 1033, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied |
Logged In: YES I attached a patch that creates temp files in the directory With the patch the test case runs ok. |
Logged In: YES The directory with sys.executable is certainly not Having /tmp mounted with "noexec" is just stupid, IMHO. I do have some experience with working around "noexec" |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: