Skip to content

Don't mkdir() on construction #12

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tarnfeld
Copy link
Contributor

@tarnfeld tarnfeld commented Jun 6, 2016

This was a cheap hack, basically the issue here is that you could be opening the filesystem for read access only, and you don't have permission to write. So the mkdir will fail, or do things you don't want (like create the directory with the wrong perms).

tarnfeld added 2 commits June 6, 2016 13:21
This was a cheap hack, basically the issue here is that you could be opening the filesystem
for read access only, and you don't have permission to write. So the mkdir will fail, or do
things you don't want (like create the directory with the wrong perms).
@ThePixelDeveloper
Copy link

LGTM 👍 :shipit:

@icio
Copy link
Contributor

icio commented Jun 6, 2016

(Code untested.)

@duedil-ltd duedil-ltd locked and limited conversation to collaborators Jun 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants