Skip to content

Create XDG_CONFIG_HOME with safe permissions#209

Merged
Et0h merged 1 commit intomasterfrom
unknown repository
Dec 7, 2018
Merged

Create XDG_CONFIG_HOME with safe permissions#209
Et0h merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

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

"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
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.

1 participant