mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1250] Question regarding whitelisting a specific file inside a blacklisted directory. #855
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#855
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 @ghost on GitHub (Apr 27, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1250
Is there any way I can specifically whitelist a file inside a blacklisted directory ?
Like for example say I have folder A and file B.
When a program is launched it creates folder A and a bunch of stuff inside it along side B.
Is it possible to make it so that the program can only write, modify and read only the B file and nothing else inside A ?
@SYN-cook commented on GitHub (Apr 27, 2017):
What you could try in a profile:
EDIT: or if you prefer to whitelist, replace the last code block with
whitelist A/BThe question is if your program still runs then.
@ghost commented on GitHub (Apr 29, 2017):
It doesn't seem to run but I got the gist of your thought process. I'll make it work.
@ghost commented on GitHub (Jun 13, 2017):
How would I go about this if the programs insists on creating the file itself. ?