![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
.eml file display error from sftp
Hello, I recently installed Ubuntu 24.04 with the version of Thunderbird (115.10.1) supplied with the distribution. I can no longer display mail saved as .eml in a remote folder (sftp). Thunderbird opens, but the mail window is empty. If I ask for the source code, this message appears:
Unable to read file at address view-source:file:///run/user/1000/kio-fuse-ouSeRu/sftp/myuser@myserver/mymessage.eml?type=application/x-message-display.
If I open from CLI I get this message :
JavaScript error: chrome://messenger/content/aboutMessage.js, line 218: NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIMsgDBHdr.mime2DecodedSubject]
If I open the save file with a file editor I'm able to see the source code.
Could you please help me? Thanks
선택된 해결법
Thanks for your answer.
Indeed, when Thunderbird is running in the snap, it doesn't have access to /mnt.
So I moved the mounting point of the share from /mnt to /media
and executed the following command to allow Thunderbird access to /media:
sudo snap connect thunderbird:removable-media :removable-media
This works fine.
문맥에 따라 이 답변을 읽어주세요 👍 0모든 댓글 (2)
Is this perhaps another example of sandboxing in flatpaks and SNAP. I understand Ubuntu 24 uses SNAP packages now, not APT as it used to. SNAP is sandboxed. https://ubuntu.com/core/docs/security-and-sandboxing
선택된 해결법
Thanks for your answer.
Indeed, when Thunderbird is running in the snap, it doesn't have access to /mnt.
So I moved the mounting point of the share from /mnt to /media
and executed the following command to allow Thunderbird access to /media:
sudo snap connect thunderbird:removable-media :removable-media
This works fine.