mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4906] steam: whitelisting may cause data loss in multiple games (config, saves, screenshots, etc) #2812
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2812
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jose1711 on GitHub (Feb 6, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4906
Description
We are already unblacklisting/whitelisting quite a few games but there may be a lot of missing and keeping up with changes may be sustainable.
Steps to Reproduce
noblacklist/whitelistsetOne such example would be Road Redemption which uses
${HOME}/Road Redemption. We could add it manually tosteam.profilebut a long-term/more dynamic solution would be needed (IMHO).Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)@SkewedZeppelin commented on GitHub (Feb 6, 2022):
Yes, I originally brought this up as a negative to switching steam.profile to whitelist.
Can be very annoying.
edit: see #3292
@netblue30 commented on GitHub (Feb 6, 2022):
What if we revert it back to a regular blacklisted profile?
We have in steam profile hardcoded at least 10 games with directories all over ~/.config and ~/.local/share. We clean up disable-programs.inc, then grab the old steam blacklisted profile and fix it. We just have to find when the whitelisting was put in.
@netblue30 commented on GitHub (Feb 14, 2022):
I'll attempt a full rewrite of steam profile, and I'll ask you guys to test it - I don't have steam here.
@nutta-git commented on GitHub (Nov 23, 2023):
I do not know what I am talking about, take this with a grain of salt.
Would a GUI be useful?
An application is given a default profile, but any more access will prompt the use a GUI asking for permission (notification).
Without a GUI: Currently
With a GUI:
The granted permission can persist only during that session or it can permanently persist.
I can see a some downsides to this:
Possible Solutions:
For Downside 4: The rules within the default profile are nonnegotiable, meaning If a game in steam.profile wanted to access ~/Documents, but steam.profile contained a rule that prevented this access, then the GUI will NOT prompt a notification and the request is silently voided.
For Downside 5: The user is allowed to edit the rules found the GUI. When the GUI prompts a resources request, the user has the ability to define the rule. Example. Application asks for access to ~/Documents, but the user can edit the request and override to ~/Documents/Specific_FileorFolder
These were my thoughts on a solution, I am pretty sure there is more downsides, but this was the only things I could come up with.