mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2274] Allowing the execution of a file? #1520
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#1520
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 (Nov 24, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2274
How can I make firejail allow gimp to execute a single plugin?
In gimp.profile it says "noexec ${HOME}", but that disables execution of everything (as intended). How can prevent execution of anything on my /home folder EXCEPT in a folder like "/home/amarildo/.gimp-2.8/plug-ins/"?
Thanks
@Vincent43 commented on GitHub (Nov 24, 2018):
Whitelisting specific dirs from
noexecin not possible.@ghost commented on GitHub (Nov 24, 2018):
@amarildojr The current https://github.com/netblue30/firejail/blob/master/etc/gimp.profile doesn't enable
noexec ${HOME}by default. If you're able to put your plugin in a system-wide location (defaults to /usr/lib/gimp/2.0/plug-ins, but any other path outside your $HOME set via gimp's preferences will do) you can enablenoexec ${HOME}by adding it to /etc/firejail/gimp.local (which you need to create). This way you would have the best of both worlds: safeguarding your $HOME dir via noexec and using gimp plugins as you wish...@chiraag-nataraj commented on GitHub (Dec 9, 2018):
@amarildojr Maybe the bug/intended behavior in #2029 might help?
@chiraag-nataraj commented on GitHub (May 20, 2019):
@amarildojr Is the above a satisfactory workaround? If so, I'll close this. I can also convert this to an enhancement request to allow file-specific whitelisting if that's better.
@rusty-snake commented on GitHub (Apr 1, 2020):
should we close or add enhancement?