Closed
Bug 95828
Opened 23 years ago
Closed 7 years ago
Running Mozilla as root prevents helper apps from launching
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ttabi, Unassigned)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010815
BuildID: 2001081514
I know this is considered a feature, but I consider it a bug. I cannot get
Mozilla to launch a helper application when I download an unknown file. For
instance, I can't get Mozilla to launch xmms whenever I try to play a Shoutcast
stream.
Reproducible: Always
Steps to Reproduce:
1. Install a fresh copy of Mozilla, with no helper apps or plug-ins configured.
2. Log in as a regular user.
3. Lauch Mozilla and click on the URL about.
4. Notice how Mozilla asks if you want to download the file, or associate it
with some application.
5. Close Mozilla. Now log in as root and repeat step #3.
6. Notice now that Mozilla will only let you save the file to disk. Even if you
specify a helper application, Mozilla ignores it and insists on downloading the
file.
Actual Results: Mozilla insists on downloading any unknown file.
Expected Results: Mozilla should ask whether you want to download the file or
whether you want to launch an application with it.
Comment 3•23 years ago
|
||
I see this behaviour also.
Status: UNCONFIRMED → NEW
Component: XP Apps → Plug-ins
Ever confirmed: true
Reporter | ||
Comment 4•23 years ago
|
||
I just wanted to add one thing. I understand that many Linux users would think
that this feature is a good idea, and that I shouldn't be running Mozilla as
root anyway. Well, if that's the case, then why let Mozilla run at all? I have
no problem with the default behavior being "don't run plug-ins as root", but I
definitely think there should be some kind of user option, under "Privacy and
Security", that will let me disable the restriction. I think that will make
everyone happy, and it shouldn't be too hard to implement.
Comment 5•23 years ago
|
||
Is this true that root can't launch helper apps?
Where is the code that performs the check?
Comment 6•23 years ago
|
||
I usually run mozilla as root and I can confirm that helper applications are not
working. It's very annoying. I know I should not run Mozilla as root, but I use
Mozilla in a home PC and a Laptop, not a production server.
I think there should be at least a hidden preference to disable this behavior.
Comment 7•23 years ago
|
||
Where is the Mozilla code that performs the "root check"????
Comment 8•23 years ago
|
||
Isn't this just bug 115819 (the "resolved" part of that; note that it has never
been checked in).
Comment 9•23 years ago
|
||
Boris, I think you are right. Bug 115819 seems to describe (in part) the same
problem.
Colin, read that bug for a description of the cause of this behavior.
Comment 10•22 years ago
|
||
Yes, the patch from 115819 can fix this bug. Why the patch cannot get in?
Updated•16 years ago
|
Assignee: mscott → nobody
Updated•15 years ago
|
QA Contact: shrir → plugins
Component: Plug-ins → File Handling
QA Contact: plugins → file-handling
Updated•8 years ago
|
Product: Core → Firefox
Version: Trunk → unspecified
Updated•8 years ago
|
Comment 11•7 years ago
|
||
I ran Firefox as root and successfully used a helper app for a PDF download, so this seems to have been fixed at some point.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•