mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2670] How to automatically get the applications to point to firejail after installation #1686
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#1686
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 @Raj2032 on GitHub (May 1, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2670
I already installed Firejail on Manjaro KDE. Now I want to set up a system where when I install an application, when I run the application it will automatically open up in firejail, how do I do this?
@rusty-snake commented on GitHub (May 1, 2019):
@Raj2032 you know about
firecfg?@Raj2032 commented on GitHub (May 1, 2019):
@rusty-snake Nope, please teach me?
@rusty-snake commented on GitHub (May 1, 2019):
https://www.mankier.com/1/firecfg
https://github.com/netblue30/firejail#desktop-integration
@Raj2032 commented on GitHub (May 1, 2019):
sudo firecfgDoes this make all the applications sandboxed upon application startup, as I want to only specify which sort of applications should be sandboxed? And how would I change which permissions each application can have, for example firefox should have access to my Downloads folder but vlc player can only have access inside my Desktop?@rusty-snake commented on GitHub (May 1, 2019):
All applications in https://github.com/netblue30/firejail/blob/master/src/firecfg/firecfg.config they are installed, will be sandboxed with the associated profile in https://github.com/netblue30/firejail/tree/master/etc.
@Raj2032 commented on GitHub (May 1, 2019):
@rusty-snake I think I am ready now, but just one last little question.
Where is the config file located in, which directory?
And where is the config file for this located on Linux?
@rusty-snake commented on GitHub (May 1, 2019):
On my System:
/usr/lib64/firejail/firecfg.configand/etc/firejail.@Raj2032 commented on GitHub (May 1, 2019):
Cool thanks.
@Raj2032 commented on GitHub (May 1, 2019):
@rusty-snake I am sorry if I am being annoying but I need to understand something. So by default, if I click on chromium on KDE its going to open it up without it being sandboxed, right? By typing in
firetool chromiumit is going to open up chromium in a sandbox, correct?Now I want by default I want to click on chromium in the taskbar and it will sandbox it without having to use firejail nor firetools. I could have used firecfg but that would make all applications sandboxed. I only want to make chromium sandboxed when I launch it in KDE, what will I type in the console or using firetools?
My next question is with chromium how would I build a custom profile to only allow a specific set if directories it can access using both firejail and firetools?
@rusty-snake commented on GitHub (May 1, 2019):
firejail chromiumis bettersudo firecfg --cleansudo ln -s /usr/bin/firejail /usr/local/bin/chromium@rusty-snake commented on GitHub (May 1, 2019):
=> I think that this is not needed
if you didn't write any firejail-profile before, it is maybe better to start writing own firejail-profiles with easyer applications.
man firejail-profilesfor the syntax for firejail profiles.@Raj2032 commented on GitHub (May 2, 2019):
@rusty-snake
I literally typed in these two commands, first of all this directory
/usr/local/bin/chromiumdidn't seem to exist for me so I typed/usr/bin/chromiuminstead and it created the soft link. But when clicking on Chromium in the KDE taskbar it does not sandbox it at all. Only when I typefirejail chromium.Also how can I customize a sandboxed environment for chromium?
@rusty-snake commented on GitHub (May 2, 2019):
sudo ln -s /usr/bin/firejail /usr/local/bin/chromiumshould be right. If it doesn't exists, can you past the output fromecho $PATH.@chiraag-nataraj commented on GitHub (May 29, 2019):
@Raj2032 What was the output from
echo $PATH?@rusty-snake commented on GitHub (Jun 26, 2019):
@Raj2032 I'm going to close this for now because of inactivity. Please fell free to reopen if you still have this issue.