add permission to sd-card dir for steam deck#136
Closed
renner0e wants to merge 1 commit intoflathub:masterfrom
renner0e:master
Closed
add permission to sd-card dir for steam deck#136renner0e wants to merge 1 commit intoflathub:masterfrom renner0e:master
renner0e wants to merge 1 commit intoflathub:masterfrom
renner0e:master
Conversation
Contributor
|
Started test build 142832 |
Contributor
|
Build 142832 failed |
Author
|
oh wait we can't give permission to stuff with absolute paths unless we give filesystem=host |
Collaborator
|
Yeah, the current situation is pretty janky. Flatpak/Freedesktop.org portals don't have support for proper "do you want to grant access to directory X" prompts which would probably be the best way to resolve this. Adding overly broad default permissions might also not be suitable for Flathub apps, though I don't know where exactly that line is drawn. Anyway, you should be able to just chop the SD card UUID off the path in the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Right now when you launch protontricks on steam deck and install games on a sd-card it needs permissions for this directory
/run/media/deck/UUID-of-sd-card
Protontricks gives the correct flatpak override command however when you use multiple sd-cards and swap them out on a regular basis to play different games the uuid will change and you'd have to do a slightly different flatpak override command for every sd- card you plug in.
This will of course also remove that first initial step of pasting the flatpak override command and it is easier to get started for steam deck users.