mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4194] cannot access whitelisted directories in Thunderbird Ubuntu 20.04 #2576
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#2576
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 @Tus1688 on GitHub (Apr 15, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4194
Hi, I made
thunderbird.profilein.config/firejail, and type following:include /etc/firejail/thunderbird.profilewhitelist ${HOME}/Documents/uploadwhitelist ${HOME}/Pictures/uploadI did a same think for firefox, when I checked firefox, I could access both whitelisted directories,


But, not with thunderbird. the Documents & Pictures directories were showed up
but when I click that directory I got following prompt:
I don't have app armor profile enabled by default for thunderbird. This is the snippet from
sudo aa-status:apparmor module is loaded. 22 profiles are loaded. 20 profiles are in enforce mode. /usr/bin/man /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/cups/backend/cups-pdf /usr/sbin/cups-browsed /usr/sbin/cupsd /usr/sbin/cupsd//third_party /usr/sbin/tcpdump /{,usr/}sbin/dhclient firejail-default ippusbxd libreoffice-senddoc libreoffice-soffice//gpg libreoffice-xpdfimport lsb_release man_filter man_groff nvidia_modprobe nvidia_modprobe//kmod 2 profiles are in complain mode. libreoffice-oopslash libreoffice-soffice 9 processes have profiles defined. 9 processes are in enforce mode. /usr/sbin/cups-browsed (644) /usr/sbin/cupsd (558) /usr/lib/thunderbird/thunderbird (12309) firejail-default /usr/lib/firefox/firefox (12828) firejail-default /usr/lib/firefox/firefox (12903) firejail-default /usr/lib/firefox/firefox (12956) firejail-default /usr/lib/firefox/firefox (13010) firejail-default /usr/lib/firefox/firefox (13064) firejail-default /usr/lib/firefox/firefox (13110) firejail-default 0 processes are in complain mode. 0 processes are unconfined but have a profile defined.Thanks in advance for your kindly help.
@Tus1688 commented on GitHub (Apr 15, 2021):
sorry for unreadable snippets:
apparmor module is loaded.
22 profiles are loaded.
20 profiles are in enforce mode.
/usr/bin/man
/usr/lib/NetworkManager/nm-dhcp-client.action
/usr/lib/NetworkManager/nm-dhcp-helper
/usr/lib/connman/scripts/dhclient-script
/usr/lib/cups/backend/cups-pdf
/usr/sbin/cups-browsed
/usr/sbin/cupsd
/usr/sbin/cupsd//third_party
/usr/sbin/tcpdump
/{,usr/}sbin/dhclient
firejail-default
ippusbxd
libreoffice-senddoc
libreoffice-soffice//gpg
libreoffice-xpdfimport
lsb_release
man_filter
man_groff
nvidia_modprobe
nvidia_modprobe//kmod
2 profiles are in complain mode.
libreoffice-oopslash
libreoffice-soffice
9 processes have profiles defined.
9 processes are in enforce mode.
/usr/sbin/cups-browsed (644)
/usr/sbin/cupsd (558)
/usr/lib/thunderbird/thunderbird (12309) firejail-default
/usr/lib/firefox/firefox (12828) firejail-default
/usr/lib/firefox/firefox (12903) firejail-default
/usr/lib/firefox/firefox (12956) firejail-default
/usr/lib/firefox/firefox (13010) firejail-default
/usr/lib/firefox/firefox (13064) firejail-default
/usr/lib/firefox/firefox (13110) firejail-default
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
@rusty-snake commented on GitHub (Apr 15, 2021):
Name it
thunderbird.localand skip theinclude /etc/firejail/thunderbird.profileBecause they are blacklisted, add the following:
Source:
Rendered:
Inline
codein markdown