Closed Bug 262604 Opened 20 years ago Closed 20 years ago

updating a global firefox installation under linux fails for the users

Categories

(Toolkit :: Application Update, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 262558

People

(Reporter: leech_joe, Assigned: bugs)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 I installed firefox 0.10 (package without installer) as root into /usr/local/... . This should be available for all users. When I updated 0.10 to 0.10.1 as root today. Only the root users firefox was updated. Would be nice if (such) updates would be global for all users. Best Regards, Joe PS: Users are not available to update such an installation (no rights to write). Reproducible: Always Steps to Reproduce: Actual Results: Version 0.10 is displayed Expected Results: Version 0.10.1 should be displayed and the update should be applied :-)
I can confirm this bug. The JavaScript file that sets the version number to 0.10.1 and the patched file ("nsHelperApplDlg.js") itself are only readable by user root: # ls -la firefox/defaults/pref/bug259708.js -r-------- 1 root root 149 2004-10-01 13:59 bug259708.js # ls -la firefox/components/nsHelperAppDlg.js -r-------- 1 root root 34892 2004-09-29 15:01 firefox/components/nsHelperAppDlg.js After changing the permissions and restarting the browser, Firefox shows the correct version number. # chmod 644 firefox/defaults/pref/bug259708.js # ls -la firefox/defaults/pref/bug259708.js -rw-r--r-- 1 root root 149 2004-10-01 13:59 firefox/defaults/pref/bug259708.js # chmod 644 firefox/components/nsHelperAppDlg.js # ls -la firefox/components/nsHelperAppDlg.js -rw-r--r-- 1 root root 34892 2004-09-29 15:01 firefox/components/nsHelperAppDlg.js
According to bug 189905, comment 9 and bug 189905, XPIs which are created under Windows have wrong file permissions when unpacked on Linux/Unix. I have repacked the XPI on Debian GNU/Linux (with Zip 2.3 (November 29th 1999)) and installed the XPI on a fresh Firefox 0.10 installation. The file permissions are now correct (0644 instead of 0600) and the patch does work for every user, not only root.
(In reply to comment #2) > According to bug 189905, comment 9 and bug 189905, XPIs which are created ^^^^^^^^^^^^^^^^^^^^^ Sorry, this should be bug 209418, comment 9. Setting dependency of this bug to bug 189905 and bug 209418. Another problem of this patch is that normal (non-root) users are promted to install the update, but at the end of the installation, they get an error message, that the patch cannot be installed ("data: Downloading fix (Read only)"). See bug 204049.
Depends on: 189905, 209418
*** This bug has been marked as a duplicate of 262558 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
No longer depends on: 189905, 209418
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: