[issue19891] Exiting Python REPL prompt with user without home directory throws error in atexit._run_exitfuncs
Eric Ongerth
report at bugs.python.org
Wed May 14 01:06:07 CEST 2014
Eric Ongerth added the comment:
I'm getting the same PermissionError 13:
Error in atexit._run_exitfuncs:
PermissionError: [Errno 13] Permission denied
My case is: I'm running Python 3.4.0 as a non-root user in a docker.io container built on ubuntu 14.04. This user was created during the creation (Dockerfile) of the container. The user has a home directory and that directory appears to have the usual/proper permissions. When I exit the python3 REPL I get this error even if all I did was start python3 from the command line and then immediately exit.
So maybe the cause is other, or more subtle, than just a user with no home dir or home dir with unusual perms?
----------
nosy: +Eric.Ongerth
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19891>
_______________________________________
More information about the Python-bugs-list
mailing list