mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #1587] [MERGED] Enumerate root directories in apparmor profile #4027
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#4027
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/1587
Author: @aerusso
Created: 10/3/2017
Status: ✅ Merged
Merged: 10/4/2017
Merged by: @startx2017
Base:
master← Head:master📝 Commits (1)
1486219Enumerate root directories in apparmor profile📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
etc/firejail-default(+1 -1)📄 Description
Replace opaque character class with an explicit list of root-level directories to be granted access.
The replaced line in the apparmor profile deceptively granted access to all root-level directories that did not start with the letters any of the characters
coprsy,^, which is probably not what was intended.Once apparmor supports the proposed addition, this line can be replaced with
{**^sys,proc}, which is what (I am guessing) was intended.I'm currently running with this rule loaded. Other tools may need more liberal permissions. Notice that this adds access to
optandsrv, which previously would not have been whitelisted.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.