mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #3292] [MERGED] steam.profile: correctly blacklist unneeded directories in user's home #4708
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#4708
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/3292
Author: @davidebeatrici
Created: 3/22/2020
Status: ✅ Merged
Merged: 4/2/2020
Merged by: @netblue30
Base:
master← Head:steam-home-directory-privacy📝 Commits (1)
b086e93steam.profile: correctly blacklist unneeded directories in user's home📊 Changes
1 file changed (+28 additions, -0 deletions)
View changed files
📝
etc/steam.profile(+28 -0)📄 Description
noblacklistdirectives prevent following ones from blacklisting the specified directory/file.The profile currently has a
noblacklistdirective for each directory used by Steam and/or its games, which is fine.However, there are no directives blacklisting the user's home, thus all directories and files inside it are accessible by Steam.
This pull request fixes the issue by adding
whitelistdirectives, which automatically blacklist the parent directory (in this case the user's home).mkdirandmkfiledirectives are added so that the directories/files are created if they don't exist.Thanks to @SkewedZeppelin for suggesting to keep
noblacklistand usemkdirandmkfile.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.