[GH-ISSUE #3252] Thunderbird not opening pdf with jailed MasterpdfEditor #2041

Closed
opened 2026-05-05 08:42:57 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @svc88 on GitHub (Feb 27, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3252

MasterpdfEditor is jailed with masterpdfeditor5.profile
Thunderbird is not jailed.

When opening a pdf directly from Thunderbird, Masterpdfeditor says cannot read it from /tmp/mozilla...etc.

If i open the pdf directly from /tmp, it will open.

What do i need to do to allow it to open it from Thunderbird?

Please dont tell me that thats its intended purpose and that i should first save the file. There's already no network to masterpdfEditor, so saving the file and then opening it is just tedious. How do i get around this to allow to open via /tmp ?

firejail - version 0.9.58.2

Log below:

Reading profile /usr/local/etc/firejail/masterpdfeditor5.profile
Reading profile /usr/local/etc/firejail/masterpdfeditor.profile
Reading profile /usr/local/etc/firejail/disable-common.inc
Reading profile /usr/local/etc/firejail/disable-devel.inc
Reading profile /usr/local/etc/firejail/disable-interpreters.inc
Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc
Reading profile /usr/local/etc/firejail/disable-programs.inc
Reading profile /usr/local/etc/firejail/whitelist-var-common.inc
Parent pid 13143, child pid 13144
Private /etc installed in 4.71 ms
1 program installed in 2.59 ms
Blacklist violations are logged to syslog
]0;firejail /opt/master-pdf-editor-5/masterpdfeditor5 /tmp/mozilla_user0/about_io_en-3.pdf Child process initialized in 120.56 ms
Qt: Session management error: Could not open network socket
Originally created by @svc88 on GitHub (Feb 27, 2020). Original GitHub issue: https://github.com/netblue30/firejail/issues/3252 MasterpdfEditor is jailed with masterpdfeditor5.profile Thunderbird is not jailed. When opening a pdf directly from Thunderbird, Masterpdfeditor says cannot read it from /tmp/mozilla...etc. If i open the pdf directly from /tmp, it will open. What do i need to do to allow it to open it from Thunderbird? Please dont tell me that thats its intended purpose and that i should first save the file. There's already no network to masterpdfEditor, so saving the file and then opening it is just tedious. How do i get around this to allow to open via /tmp ? firejail - version 0.9.58.2 Log below: ``` Reading profile /usr/local/etc/firejail/masterpdfeditor5.profile Reading profile /usr/local/etc/firejail/masterpdfeditor.profile Reading profile /usr/local/etc/firejail/disable-common.inc Reading profile /usr/local/etc/firejail/disable-devel.inc Reading profile /usr/local/etc/firejail/disable-interpreters.inc Reading profile /usr/local/etc/firejail/disable-passwdmgr.inc Reading profile /usr/local/etc/firejail/disable-programs.inc Reading profile /usr/local/etc/firejail/whitelist-var-common.inc Parent pid 13143, child pid 13144 Private /etc installed in 4.71 ms 1 program installed in 2.59 ms Blacklist violations are logged to syslog ]0;firejail /opt/master-pdf-editor-5/masterpdfeditor5 /tmp/mozilla_user0/about_io_en-3.pdf Child process initialized in 120.56 ms Qt: Session management error: Could not open network socket ```
gitea-mirror 2026-05-05 08:42:57 -06:00
Author
Owner

@Vincent43 commented on GitHub (Feb 27, 2020):

Add ignore private-tmp to ~/.config/firejail/masterpdfeditor.local

<!-- gh-comment-id:592062816 --> @Vincent43 commented on GitHub (Feb 27, 2020): Add `ignore private-tmp` to `~/.config/firejail/masterpdfeditor.local`
Author
Owner

@svc88 commented on GitHub (Feb 27, 2020):

@Vincent43 thanks but can you tell me where to find masterpdfeditor.local ? I dont have ~/config/firejail. Where are all the .local files sitting?

<!-- gh-comment-id:592105175 --> @svc88 commented on GitHub (Feb 27, 2020): @Vincent43 thanks but can you tell me where to find masterpdfeditor.local ? I dont have ~/config/firejail. Where are all the .local files sitting?
Author
Owner

@rusty-snake commented on GitHub (Feb 27, 2020):

Create it:

mkdir -p ~/.config/firejail
echo "ignore private-tmp" >> "~/.config/firejail/masterpdfeditor5.local"
<!-- gh-comment-id:592114673 --> @rusty-snake commented on GitHub (Feb 27, 2020): Create it: ```bash mkdir -p ~/.config/firejail echo "ignore private-tmp" >> "~/.config/firejail/masterpdfeditor5.local" ```
Author
Owner

@svc88 commented on GitHub (Feb 29, 2020):

Was not aware that you needed to create the config files, i thought they were already created but couldnt find them.
thank you!

<!-- gh-comment-id:592942282 --> @svc88 commented on GitHub (Feb 29, 2020): Was not aware that you needed to create the config files, i thought they were already created but couldnt find them. thank you!
Author
Owner

@Vincent43 commented on GitHub (Feb 29, 2020):

@svc88 the .local ones are optional for users to create.

<!-- gh-comment-id:592966960 --> @Vincent43 commented on GitHub (Feb 29, 2020): @svc88 the `.local` ones are optional for users to create.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#2041
No description provided.