mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #908] Thunderbird: Okular can't open PDF files #614
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#614
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 @curiosity-seeker on GitHub (Nov 12, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/908
A couple of days ago I noticed that Okular no longer opens attached PDF files in Thunderbird. Every time I get an error message like
Can't open /tmp/mozilla_hank0/example.pdfAfter some investigation I found the culprit: The Thunderbird profile contains
include /etc/firejail/firefox.profileand that one the rule
private-tmpAfter commenting that rule everything works nicely. However, that rule certainly makes sense in the firefox.profile. So the question is if
include /etc/firejail/firefox.profileshould be removed from thunderbird.profile. If I comment that entry and I click links in Thunderbird they are still opened in a firejailed Firefox. Even is Firefox is not yet open it is not started as a sub-process of the firejailed Thunderbird (according to firejail --tree) but as an own firejailed process. Perhaps because I'm using symlink invocation?
My suggestion is to rewrite the Thunderbord profile like this:
@netblue30 commented on GitHub (Nov 13, 2016):
What happens if before "include /etc/firejail/firefox.profile" you add a "ignore private-tmp"?
This should disable private-tmp in firefox.profile.
@curiosity-seeker commented on GitHub (Nov 13, 2016):
Ah, yes - this works, indeed! I had completely forgotten about the
ignorecommand - sorry!Okular is now able to open PDF files.
@netblue30 commented on GitHub (Nov 15, 2016):
I pushed it in the profile file in git, thanks.