mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3016] [feature request] Exclude certain programs with firecfg? #1890
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#1890
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 @rieje on GitHub (Oct 29, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3016
Currently, I have firecfg called as a pacman hook when updating my system--useful for automatically using firejail with new programs. However, I'm currently debugging LibreOffice (finding it very difficult to have a decent experience with Firefox and the clipboard) and would like to exclude that from firecfg.
What's a good workaround?
chattr +idoesn't work on symlinks.@ghost commented on GitHub (Oct 29, 2019):
Until a native feature is integrated to do what you want, I'd place a small wrapper script in /usr/local/bin/firecfg and disable/enable any applications before running the real deal firecfg. Call it with 'skip' to keep state. Point your pacman hook to this script and debug LibreOffice until you're done. Something like the below should work [untested]:
@rusty-snake commented on GitHub (Oct 29, 2019):
what about
@rusty-snake commented on GitHub (Oct 29, 2019):
Duplicate of #2097
@rusty-snake commented on GitHub (Oct 29, 2019):
and #2829. Looks like a realy wanted feature.
@rusty-snake commented on GitHub (Oct 29, 2019):
The long time goal here would be file based (see discussions in #2829 and #2097), but a fast fix can be something like
--ignore=PROGRAM.@pizzadude commented on GitHub (Nov 2, 2019):
I have a script in /usr/local/bin/ called "unlinkfirejailapps" which does "unlink appname" in /usr/local/bin/ for the programs I don't want to use firejail with.