mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1259] mpv profile not working with if creating /usr/local/bin/mpv wrapper #859
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#859
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 (May 1, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1259
If I run the command
/usr/bin/firejail --seccomp --profile="${HOME}"/.config/firejail/mpv.profile /usr/bin/mpv <a_video>, it works. Then, I create the wrapper for /usr/local/bin so calling any instances ofmpvuses the firejail sandbox automatically:I open a new shell instance and run mpv and it fails to open the video, failing with the following:
Any ideas what may be the issue? I did the same thing with firefox and it works fine. Seems bizarre that command in the wrapper script does not work but works if I execute it directly on the terminal.
@netblue30 commented on GitHub (May 1, 2017):
If you have a "private-bin" statement in your profile, comment it out (add a #).
The recommended way to set this up is to use firecfg. Delete your mpv script from /usr/local/bin and run:
It will create a symbolic link to /usr/bin/firejail and everything will work just fine.