This and another issue are intertwined, making it difficult to track
down the source of the issues. (Bug #239952 firefox - the associated
helper application does not exist).
This issue is caused by a change in the handling of file permissions for
temporary downloaded files on all platforms except Mac in xulrunner.
Fortunately there is a work-around in the form of the configuration
setting:
browser.helperApps.deleteTempFileOnExit = false (boolean)
This can be added via Firefox's "about:config" page.
The code in question is in
mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp in the
method nsExternalAppHandler::OpenWithApplication() :
nsCOMPtr<nsIPrefBranch> prefs(do_GetService(NS_PREFSERVICE_CONTRACTID));
if (!prefs || NS_FAILED(prefs->GetBoolPref(
"browser.helperApps.deleteTempFileOnExit", &deleteTempFileOnExit))) {
// No prefservice or no pref set; use default value
#if !defined(XP_MACOSX)
// Mac users have been very verbal about temp files being deleted on
// app exit - they don't like it - but we'll continue to do this on
// other platforms for now.
deleteTempFileOnExit = PR_TRUE;
#else
deleteTempFileOnExit = PR_FALSE;
#endif
}
// make the tmp file readonly so users won't edit it and lose the changes
// only if we're going to delete the file
if (deleteTempFileOnExit)
mFinalFileDestination->SetPermissions(0400);
--
wrong permissions on /tmp files makes it impossible to directly view with
external viewer
https://bugs.launchpad.net/bugs/254169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs