Closed
Bug 36007
Opened 24 years ago
Closed 24 years ago
Mozilla crashes when trying to install PSM as non-root user.
Categories
(Core Graveyard :: Security: UI, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mozilla, Assigned: ddrinan0264)
Details
(Keywords: crash, Whiteboard: [nsbeta3-][rtm-])
Overview Description: A way to install PSM on a filesystem that doesn't have write permissions as a normal user is needed. Steps to Reproduce: 1) As a root (Administrator) user unpack mozilla and make sure it is owned by root 2) Start mozilla as a normal user 3) Try to install PSM Actual Results: Mozilla segfaults Expected Results: Either give a dialog box that says no permission to install or allow the user to enter the root password to install it. Reproducibility: everytime Build Date & Platform Bug Found: 2000041617 Linux i686 Additional Builds and Platforms Tested On: any OS with directory permissions Additional Information: Possibly move the default install directory for PSM to the profile directory?
Reporter | ||
Comment 1•24 years ago
|
||
After talking this over on irc with some friends, I decided that what I was asking didn't really make since. Updating the summary. PSM needs to give a warning if it doesn't have write permission to the mozilla/package directory. Currently it just crashes with no explanation of what was wrong. I know several people have been bit by this (including me) until I realized that I wasn't root. Something to the effect of "Error: No write permission to the mozilla directory" and then cleanly quit the install without crashing.
Summary: [RFE] Ability to install PSM as non-root user → Mozilla crashes when trying to install PSM as non-root user.
Comment 3•24 years ago
|
||
Adding nsbeta3 keyword.
Comment 4•24 years ago
|
||
Marking nsbeta3- for the commercial build. PSM is always installed with seamonkey, so this bug is moot for commercial.
Whiteboard: [nsbeta3-]
Comment 5•24 years ago
|
||
Not really moot for commercial. If later on the customer updates PSM this bug will occur.
Keywords: rtm
Comment 7•24 years ago
|
||
On my system (SuSE Linux 6.4) it hangs when I run it as a user after I installed it as root. Output is just this: mi@ynis:/opt/mozilla/package > ./mozilla ./run-mozilla.sh ./mozilla-bin MOZILLA_FIVE_HOME=. LD_LIBRARY_PATH=. LIBRARY_PATH=.:./components SHLIB_PATH=. LIBPATH=. ADDON_PATH=. MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger=
Comment 8•24 years ago
|
||
Sorry, missed to read the "PSM" - forget my comment.
Comment 9•24 years ago
|
||
rtm-, comments indicate that the RTM build is not itself broken. This is a good thing to get fixed on the trunk though.
Whiteboard: [nsbeta3-] → [nsbeta3-][rtm-]
Comment 10•24 years ago
|
||
This bug appears to be outdated at this point. Now when you try to install psm as a non-root user, it fails with an error code (tested today with latest nightly build on linux). The error code isn't helpful, but mozilla didn't crash.
Comment 12•24 years ago
|
||
Isn't the real problem here with the auto-install mechanism? Shouldn't that check permissions and adequately handle non-permissioned attempts to auto-install? For example: "You must have write access to install directory to use auto-install."
Comment 13•24 years ago
|
||
This bug looks like a dupe of bug 49507. FYI, see http://tool-man.org/docs/HOWTO/Mozilla-Nightly-Install-HOWTO for a description of a workaround to this bug and bug 49507.
Comment 14•24 years ago
|
||
*** This bug has been marked as a duplicate of 49507 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•