mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6785] [MERGED] profiles: finish converting private-opt to whitelist #6167
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#6167
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/6785
Author: @kmk3
Created: 6/18/2025
Status: ✅ Merged
Merged: 6/22/2025
Merged by: @kmk3
Base:
master← Head:profiles-finish-private-opt📝 Commits (1)
ddb8f2fprofiles: finish converting private-opt to whitelist📊 Changes
10 files changed (+9 additions, -22 deletions)
View changed files
📝
etc/profile-a-l/basilisk.profile(+1 -1)📝
etc/profile-a-l/enpass.profile(+1 -1)📝
etc/profile-m-z/mate-dictionary.profile(+1 -1)📝
etc/profile-m-z/microsoft-edge-dev.profile(+0 -3)📝
etc/profile-m-z/microsoft-edge.profile(+0 -3)📝
etc/profile-m-z/minecraft-launcher.profile(+1 -1)📝
etc/profile-m-z/postman.profile(+1 -4)📝
etc/profile-m-z/ppsspp.profile(+1 -1)📝
etc/profile-m-z/tidal-hifi.profile(+1 -1)📝
etc/templates/profile.template(+2 -6)📄 Description
Changes:
private-opt none) towhitelist entries
(for profiles that also have a corresponding whitelist entry)
whitelist /opt/basiliskin basilisk.profile (similarly tomullvad-browser.profile and palemoon.profile)
Most private-opt entries were converted into whitelist entries on commit
175905530("profiles: exchange private-opt with a whitelist (#6021)",2023-10-18), while some of them were left alone due to the program size
being deemed small enough as not to break file-copy-limit in
firejail.config.
For the sake of simplicity and clarity (and to avoid potential issues
with program install sizes increasing over time), convert those
private-opt entries into whitelist entries as well (note that users can
still enable private-opt in the corresponding .local profile).
Also, some commented private-opt entries remain (with a note about
potential issues with private-opt).
Since commit
175905530also documented the drawbacks of private-opt infirejail.1, it should be fine to remove the commented entries and
related comments (note that in all of the profiles containing such
comments, there is already an equivalent whitelist entry).
Related commits:
f3f739c5d("microsoft-edge.profile: rewrite profile for stablechannel", 2022-08-11) /
PR #5709
121e043df("microsoft-edge-{dev,beta}: replaced private-opt bywhitelist #5307", 2022-08-11) /
PR #5709
2cb40fbec("microsoft-edge fixes (#5697)", 2023-03-14)58732a654("Add profiles for jami and postman (#5691)", 2023-03-15)175905530("profiles: exchange private-opt with a whitelist (#6021)",2023-10-18)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.