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

Create XDG_CONFIG_HOME with safe permissions #209

Merged
merged 1 commit into from Dec 7, 2018

Conversation

Projects
None yet
2 participants
@sometoby
Copy link
Contributor

sometoby commented Dec 6, 2018

Turns out I committed a slight standards compliance blunder in my XDG patch:

If, when attempting to write a file, the destination directory is non-existant an attempt should be made to create it with permission 0700.

As per the XDG Base Directory Specification.

Create XDG_CONFIG_HOME with safe permissions
"If, when attempting to write a file, the destination directory is non-existant an attempt should be made to create it with permission 0700."

https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

@Et0h Et0h merged commit 75289a2 into Syncplay:master Dec 7, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment