Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Conversation

@saltduck
Copy link
Contributor

@saltduck saltduck commented Mar 7, 2016

No description provided.

db/datastore.py Outdated
path = join(path, directory)
if not os.path.exists(path):
os.makedirs(path)
os.makedirs(path, mode=0750)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be 0o750 for new octal form.

@saltduck
Copy link
Contributor Author

saltduck commented Mar 8, 2016

Change 0750 --> 0o750 as suggestion from @hoffmabc

hoffmabc added a commit that referenced this pull request Mar 8, 2016
Create DATA_FOLDER with mode 750 not 777
@hoffmabc hoffmabc merged commit 24ab472 into OpenBazaar:master Mar 8, 2016
@saltduck saltduck deleted the fix200 branch March 8, 2016 01:46
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.

2 participants