Skip to content

Conversation

@eladyn
Copy link
Contributor

@eladyn eladyn commented Nov 23, 2025

As has been raised in Spotifyd/spotifyd#1349 some time ago, the credential files in cache should probably not be world readable, as this allows for example other users on a multi-user system to use the Spotify account of another user.

This changes the default permissions for the file and suggests changing the permissions, if the file is world readable. One could of course just change the permissions instead of asking the user to do it, but this might be a little intrusive. If you think that the permissions should also be changed on other files / directories, let me know.

Note that this only works on Unix systems, I don't know anything about how Windows handles permissions, so didn't change anything there.

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