Skip to content

Include username in tempdir #1213

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

Merged
merged 1 commit into from
Sep 7, 2012
Merged

Conversation

mdboom
Copy link
Member

@mdboom 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.

… directory is not writable. Fixes race conditions on a multi-user machine discovered by Matt Anderson.
@pelson
Copy link
Member

pelson commented Sep 7, 2012

I see no harm in this change. +1

mdboom added a commit that referenced this pull request Sep 7, 2012
@mdboom mdboom merged commit d563d62 into matplotlib:master Sep 7, 2012
@mdboom mdboom deleted the tempdir-username branch March 3, 2015 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants