Include username in tempdir #1213

merged 1 commit into from Sep 7, 2012


None yet

2 participants

mdboom commented Sep 7, 2012

Fixes an issue introduced by #832. If multiple users on the same machine have non-writable home directories, the /tmp/matplotlib directory created may be shared. This includes the user's login name in the directory name to prevent that.

Discovered by Matt Anderson.

@mdboom mdboom Put user's name in the temp directory that gets created when the home…
… directory is not writable. Fixes race conditions on a multi-user machine discovered by Matt Anderson.
pelson commented Sep 7, 2012

I see no harm in this change. +1

@mdboom mdboom merged commit d563d62 into matplotlib:master Sep 7, 2012

1 check failed

default The Travis build failed
@mdboom mdboom deleted the mdboom:tempdir-username branch Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment