mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6127] blacklist does not work for new files and folders without firejail restart #3195
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#3195
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?
Originally created by @tm4ig on GitHub (Dec 13, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6127
Description
Blacklist for [sub]folders (and files) does not work if they were created after start application.
Steps to Reproduce
Expected behavior
folder4 will be in blacklist without restart firejail.
Actual behavior
folder4 is not in blacklist:
But after restart firejail folder4 already in blacklist:
Behavior without a profile
"noprofile" doesn't change the situation.
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/programfirejail.log
@kmk3 commented on GitHub (Dec 13, 2023):
firejail runs before the program starts, so there is no way to blacklist
anything afterwards.
To prevent new files from appearing in the sandbox, whitelisting has to be
used.