mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2880] What to do when executable is already in /usr/local/bin? #1802
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#1802
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 @fluks on GitHub (Jul 30, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2880
I wanted to run riot-web in Firejail, but there is already /usr/local/bin/riot-web, which is a symbolic link to /opt/Riot/riot-web. I installed it from the riot repo. What is the best way to deal with this problem? I also compiled Sylpheed from source and its executable is in /usr/local/bin too.
firejail version 0.9.58.2
Kubuntu 19.04
@rusty-snake commented on GitHub (Jul 30, 2019):
There's a whole bunch of possibilities.
Exec=firejail /opt/Riot/riot-web#!/usr/bin/env sh\nfirejail /opt/Riot/riot-web "$@"The best: IDK
The easiest: edit XXX.desktop
My favorit: a shell script in /usr/local/bin
@Vincent43 commented on GitHub (Jul 30, 2019):
Maybe
sudo ln -s /usr/bin/firejail /usr/local/sbin/riot-web@fluks commented on GitHub (Jul 30, 2019):
Thanks. I choose /usr/local/sbin. It and $HOME/bin are good choices, because I don't have to change them every time riot-web is updated.
@rusty-snake commented on GitHub (Jul 31, 2019):
If you copy the .desktop to $HOME/.local/share/applications you need also no changes after an update.
@rusty-snake commented on GitHub (Jul 31, 2019):
@fluks I'm closing here due to the question seem answered, please fell free to reopen if you have more questions.