Closed Bug 316368 Opened 20 years ago Closed 20 years ago

Firefox tries to write into installation directory

Categories

(Toolkit :: Startup and Profile System, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 311480

People

(Reporter: schuetzm, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051107 Firefox/1.5 Firefox tries to write into its installation directory (here: /opt/firefox), which is only writable by root. Here is some output of installwatch: 9 open /opt/firefox/update.test #success 0 unlink /opt/firefox/update.test #success -1 mkdir /opt/firefox/updates/0 #No such file or directory -1 mkdir /opt #File exists -1 mkdir /opt/firefox #File exists 0 mkdir /opt/firefox/updates #success 0 mkdir /opt/firefox/updates/0 #success 9 open /opt/firefox/updates/0/update.test #success 0 unlink /opt/firefox/updates/0/update.test #success ... 27 open /opt/firefox/update.test #success 0 unlink /opt/firefox/update.test #success 27 open /opt/firefox/updates/0/update.test #success 0 unlink /opt/firefox/updates/0/update.test #success Reproducible: Always Steps to Reproduce: 1. download firefox-1.5rc2.tar.gz 2. extract to /opt/ as root 3. start as non-root user vs. 1. download firefox-1.5rc2.tar.gz 2. extract to /opt/ as root 3. start as root 4. start as non-root user Actual Results: When starting Firefox as normal user, it pops up a message box twice saying something like "Firefox could not install this extension because of a failure in chrome registration", but continues nevertheless. This message only appears at first startup after upgrade or after removing ~/.mozilla/firefox. If Firefox is started as root once directly after installtion, there is no error message. Expected Results: Firefox should NEVER write anything into its installation directory, whether it actually has write access to it or not. The only directories where it may write to should be its profile and /tmp. The described behaviour is reproducible for 1.5rc1 and 1.5rc2.
*** This bug has been marked as a duplicate of 311480 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
v.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.