[PR #3292] [MERGED] steam.profile: correctly blacklist unneeded directories in user's home #4708

Closed
opened 2026-05-05 10:25:09 -06:00 by gitea-mirror · 0 comments
Owner

📋 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: masterHead: steam-home-directory-privacy


📝 Commits (1)

  • b086e93 steam.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

noblacklist directives prevent following ones from blacklisting the specified directory/file.

The profile currently has a noblacklist directive 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 whitelist directives, which automatically blacklist the parent directory (in this case the user's home).

mkdir and mkfile directives are added so that the directories/files are created if they don't exist.

Thanks to @SkewedZeppelin for suggesting to keep noblacklist and use mkdir and mkfile.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/3292 **Author:** [@davidebeatrici](https://github.com/davidebeatrici) **Created:** 3/22/2020 **Status:** ✅ Merged **Merged:** 4/2/2020 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `steam-home-directory-privacy` --- ### 📝 Commits (1) - [`b086e93`](https://github.com/netblue30/firejail/commit/b086e9305528cd6ea89ee22b1714fd9eb4f8c801) steam.profile: correctly blacklist unneeded directories in user's home ### 📊 Changes **1 file changed** (+28 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `etc/steam.profile` (+28 -0) </details> ### 📄 Description `noblacklist` directives prevent following ones from blacklisting the specified directory/file. The profile currently has a `noblacklist` directive 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 `whitelist` directives, which automatically blacklist the parent directory (in this case the user's home). `mkdir` and `mkfile` directives are added so that the directories/files are created if they don't exist. Thanks to @SkewedZeppelin for suggesting to keep `noblacklist` and use `mkdir` and `mkfile`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:25:09 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#4708
No description provided.