[PR #2123] [CLOSED] Fix incorrect whitelist-path handling #4177

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

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2123
Author: @miszr
Created: 9/26/2018
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 6503864 Fix incorrect whitelist-path handling

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/firejail/fs_whitelist.c (+1 -1)

📄 Description

Fixed so that the check if whitelist-path is entire home directory is correctly handled.
Previously the check also matched all subdirectories and files under homedir, which basically broke all profiles whitelisting anything in homedir.

Examples:

From "firefox.profile"
whitelist ${HOME}/.cache/mozilla/firefox


🔄 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/2123 **Author:** [@miszr](https://github.com/miszr) **Created:** 9/26/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`6503864`](https://github.com/netblue30/firejail/commit/6503864d9eee7dca81deda2cbefe11d550d99c8e) Fix incorrect whitelist-path handling ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/fs_whitelist.c` (+1 -1) </details> ### 📄 Description Fixed so that the check if whitelist-path is entire home directory is correctly handled. Previously the check also matched all subdirectories and files under homedir, which basically broke all profiles whitelisting anything in homedir. ### Examples: From "firefox.profile" `whitelist ${HOME}/.cache/mozilla/firefox` --- <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:15:11 -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#4177
No description provided.