This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dj3ei
Recipients dj3ei, ejo, pitrou, r.david.murray, vajrasky
Date 2017-10-28.14:13:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509199989.2.0.213398074469.issue19891@psf.upfronthosting.co.za>
In-reply-to
Content
I can easily reproduce the problem with Docker,
and it does seem to be a permission problem:

    $ docker run -ti --rm --user="7777:7777" python:3.6.3-jessie bash -c "python3"
    Python 3.6.3 (default, Oct 10 2017, 02:29:16) 
    [GCC 4.9.2] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 
    Error in atexit._run_exitfuncs:
    PermissionError: [Errno 13] Permission denied

    $ docker run -ti --rm --user="7777:7777" python:3.6.3-jessie bash -c "HOME=/tmp python3; ls -lta /tmp"
    Python 3.6.3 (default, Oct 10 2017, 02:29:16) 
    [GCC 4.9.2] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 
    total 8
    drwxrwxrwt  2 root root 4096 Oct 28 14:10 .
    drwxr-xr-x 55 root root 4096 Oct 28 14:10 ..
    -rw-------  1 7777 7777    0 Oct 28 14:10 .python_history
History
Date User Action Args
2017-10-28 14:13:09dj3eisetrecipients: + dj3ei, pitrou, r.david.murray, ejo, vajrasky
2017-10-28 14:13:09dj3eisetmessageid: <1509199989.2.0.213398074469.issue19891@psf.upfronthosting.co.za>
2017-10-28 14:13:09dj3eilinkissue19891 messages
2017-10-28 14:13:08dj3eicreate