Created attachment 9266065 1753242_esr91.patch fixed version for esr91 based on comment 11.
Diff to comment 11: ``` ➜ hg diff diff --git a/mail/test/browser/attachment/browser_openAttachment.js b/mail/test/browser/attachment/browser_openAttachment.js --- a/mail/test/browser/attachment/browser_openAttachment.js +++ b/mail/test/browser/attachment/browser_openAttachment.js @@ -39,17 +39,17 @@ add_task(async function setupModule(modu be_in_folder(folder); // @see logic for tmpD in msgHdrView.js tmpD = PathUtils.join( Services.dirsvc.get("TmpD", Ci.nsIFile).path, "pid-" + Services.appinfo.processID ); - let savePath = PathUtils.join(tmpD, "saveDestination"); + savePath = PathUtils.join(tmpD, "saveDestination"); await IOUtils.makeDirectory(savePath); Services.prefs.setStringPref("browser.download.dir", savePath); Services.prefs.setIntPref("browser.download.folderList", 2); Services.prefs.setBoolPref("browser.download.useDownloadDir", true); Services.prefs.setIntPref("security.dialog_enable_delay", 0); let mockedExecutable = FileUtils.getFile("TmpD", ["mockedExecutable"]); @@ -406,12 +406,8 @@ add_task(async function saveToDiskPrompt let file = await checkFileSaved(tmpD); file.remove(false); Assert.ok(MockFilePicker.shown, "file picker was shown"); MockFilePicker.reset(); Services.prefs.setBoolPref("browser.download.useDownloadDir", true); }); -registerCleanupFunction(() => { - // Remove created folders. - folder.deleteSelf(null); -}); ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1959604 Title: [upstream] Thunderbird 91.5.0 regression: writes attachments to /tmp readable to everyone To manage notifications about this bug go to: https://bugs.launchpad.net/thunderbird/+bug/1959604/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs