New submission from Matthias Klose:
seen when running the testsuite as user nobody, with
test_site fails when the user's home directory does not exist, and is not
creatable (e.g. /nonexistent).
FAILED (failures=3)
test test_pydoc failed
Re-running test 'test_site' in verbose mode
test test_site crashed -- Traceback (most recent call last):
File "/usr/lib/python3.3/test/regrtest.py", line 1213, in runtest_inner
the_package = __import__(abstest, globals(), locals(), [])
File "/usr/lib/python3.3/test/test_site.py", line 29, in <module>
os.makedirs(site.USER_SITE)
File "/usr/lib/python3.3/os.py", line 258, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.3/os.py", line 258, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.3/os.py", line 258, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.3/os.py", line 258, in makedirs
makedirs(head, mode, exist_ok)
File "/usr/lib/python3.3/os.py", line 269, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/nonexistent'
----------
components: Tests
messages: 187078
nosy: doko
priority: normal
severity: normal
stage: needs patch
status: open
title: test_site fails when the user does not have a home directory
type: enhancement
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue17758>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com