[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2010-09-07 Thread Tormod Volden
*** This bug is a duplicate of bug 239952 ***
https://bugs.launchpad.net/bugs/239952

For some reason (lp changes?) I can not reproduce with my own examples
above any longer, but the
http://ubuntuforums.org/showpost.php?p=8707510&postcount=6 link from the
other bug shows the same problem. Thanks for the Firefox 4.0 hint, I am
running it now and I guess there is no way back :) I'll mark this one a
duplicate.

** This bug has been marked a duplicate of bug 239952
   firefox - the associated helper application does not exist
 * You can subscribe to bug 239952 by following this link: 
https://bugs.edge.launchpad.net/ubuntu/+source/firefox-3.0/+bug/239952/+subscribe

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2010-09-07 Thread Chris Coulson
Yes, it's the same bug.

The bug is fixed in Firefox 4.0 by a patch which was committed to fix an
unrelated problem. I've backported the changes for Firefox 3.6 and
requested it to be landed upstream. If that doesn't happen, then we'll
try to distro-patch it to make it work for Maverick.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2010-09-07 Thread linux_vip
Is this bug related to https://bugs.launchpad.net/firefox/+bug/239952
and will it ever get fixed ? The above workaround does not work on Lucid
with Firefox 3.6.8.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2009-02-12 Thread TJ
** Changed in: xulrunner-1.9 (Ubuntu)
 Assignee: TJ (intuitivenipple) => (unassigned)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-09-08 Thread TJ
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 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-09-08 Thread TJ
** Also affects: xulrunner-1.9 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: xulrunner-1.9 (Ubuntu)
   Importance: Undecided => Medium
 Assignee: (unassigned) => TJ (intuitivenipple)
   Status: New => Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-09-01 Thread Tormod Volden
** Changed in: firefox-3.0 (Ubuntu)
   Status: New => Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-09-01 Thread Jani Uusitalo
I can confirm this with a freshly installed 8.04.1 + updates, when
opening a .deb file. Steps to reproduce:

1. Go to http://virtualbox.org/wiki/Downloads, Binaries (all platforms), select 
Ubuntu 8.04 (x86) and agree to the PUEL to get the download link.
2. Click on the download link to get the download action dialog.
3. Choose the default (Open with GDebi).

What happens: Firefox says the file "could not be opened, because the 
associated helper application does not exist."
What I expected to happen: To have the downloaded .deb file open in GDebi.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-08-02 Thread Tormod Volden

** Attachment added: "click on this in launchpad"
   http://launchpadlibrarian.net/16492753/test.diff.gz

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-08-02 Thread Tormod Volden
Clicking on a link like http://ftp.de.debian.org/debian/pool/main/l
/linux-wlan-ng/linux-wlan-ng_0.2.9+dfsg-1.diff.gz works better. It still
doesn't open in the browser window, but the Opening dialog suggest
Archive Manager which works fine. I think the difference between these
links is the MIME type in the server response header.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-08-02 Thread Tormod Volden
Clicking on the above link to my uploaded file in launchpad gives
another result, probably because the server ships another MIME type. Now
I get a question of opening with Firefox, which gives another error
dialog, or with "less" which is useless because the less window probably
disappears before I see it.

To see the original issue, see
https://launchpad.net/~tormodvolden/+archive and click on any "Available
diffs".

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 254169] Re: wrong permissions on /tmp files makes it impossible to directly view with external viewer

2008-08-02 Thread Tormod Volden
This is a major PITA when browsing such files. I remember that before
these files would just open inside the Firefox window (automatically
gunzipped), which was much more convenient.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs