SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.77k stars 165 forks source link

Homebrew Settings Folder Owned By Root #257

Closed jurassicplayer closed 2 years ago

jurassicplayer commented 2 years ago

https://github.com/SteamDeckHomebrew/decky-loader/blob/478fe3252726110ef00f8492ddae32fe224be298/backend/settings.py#L17

The homebrew/settings folder created by the decky-loader SettingsManager results in a root:root owned folder with permissions -rw-rw-r-- if not already present. This causes issues for both users and 3rd-party plugins being unable to edit/save settings without privilege escalation.

s7mjIKm

RodoMa92 commented 2 years ago

Should be fixed with #258