mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5678] okular: cannot open file with --private= and --read-only= #3058
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#3058
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 @bobblkabb on GitHub (Feb 23, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5678
I'm running version 0.9.70 on openSUSE Leap 15.4 and got following problem:
When I run
firejail --seccomp --private=/home/kaiser/Firejail/okular --read-only=~/Downloads okularfrom the shell it works fine. If I want to open a file in okular it actually opens the download folder.
But when I make a menu entry with the very same command it doesn't open the download folder.
Any ideas?
@ghost commented on GitHub (Feb 23, 2023):
How does your menu entry look like exactly? If by a menu entry you mean using a .desktop file, have you tried using
Exec=sh -c 'firejail --seccomp --private=/home/kaiser/Firejail/okular --read-only=~/Downloads okular'yet?Side note: try to upgrade your firejail to the latest release, which is 0.9.72 at the time of writing.
@bobblkabb commented on GitHub (Feb 23, 2023):
It looks exactly the same as the shell command and it opens okular..
Running KDE Plasma. It has a menu editor.
Exec=sh -c 'firejail... doesn't open okular at all.
Latest version isn't available yet.