Thunderbird snap unable to send or save messages with custom download dir location

Bug #2065542 reported by A

This bug report will be marked for expiration in 54 days if no further activity occurs. (find out why)

14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Package: thunderbird
Version: 2:1snap1-0ubuntu3

I have KDE with custom downloads folder location (/mnt/M.2/Downloads in my case), and when I try to send or save message I have msg box with "error sending message"

In `journalctl -f` there is following message

kernel: audit: type=1400 audit(1715558212.734:570): apparmor="DENIED" operation="mkdir" class="file" profile="snap.thunderbird.thunderbird" name="/mnt/M.2/Downloads/thunderbird.tmp/" pid=52900 comm="thunderbird-bin" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

A (zorn-v)
affects: ubuntu-release-upgrader (Ubuntu) → thunderbird (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Is that directory an actual mount from another location? That's more of a snapd question

Changed in thunderbird (Ubuntu):
status: New → Incomplete
Revision history for this message
A (zorn-v) wrote :

Yep, it is another physical device

/dev/sda2 46G 12G 32G 28% /
/dev/nvme0n1p1 938G 672G 220G 76% /mnt/M.2

Revision history for this message
A (zorn-v) wrote :

> That's more of a snapd question

Why thunderbird (snap version) save own temp files in "downloads" at all ?

Revision history for this message
Jora Sucharik (c3374610) wrote (last edit ):

> Why thunderbird (snap version) save own temp files in "downloads" at all ?
Snapcraft's people choice.

As thunderbird is packaged as snap and with default settings, it's unusable. I ran into the same problems - you can't send a mail neither save it as draft.

Revision history for this message
Jora Sucharik (c3374610) wrote :

Snapcraft's people suggested a workaround:

sudo snap connect thunderbird:removable-media

Revision history for this message
A (zorn-v) wrote :

> Snapcraft's people suggested a workaround

Thanks

Revision history for this message
Brice Terzaghi (terzag) wrote :

Upgraded to Xubuntu 24.04 a few days ago, so got Thunderbird switched to a snap. Today, I've had an e-mail to send for the first time and got an error message saying it can't send it.

In journalctl, I have the following:

kernel: audit: type=1400 audit(1717598347.884:296): apparmor="DENIED" operation="mkdir" class="file" profile="snap.thunderbird.thunderbird" name=2F6D6E742F64617461322F54C3A96CC3A96368617267656D656E74732F7468756E646572626972642E746D702F pid=31351 comm="thunderbird-bin" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000

Unlike OP, I don't seem to have a mount point mentioned in "name". But while my Downloads dir is not set elsewhere through the DE, it is actually a symlink from my home dir to a different partition on a secondary hard drive.

Connecting the snap to removable-media as suggested seems to fix the issue. Maybe this should be set by default? or use a different dir than $HOME/Downloads for temporary files?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.