Closed Bug 455223 Opened 17 years ago Closed 14 years ago

Hungarian language pack installs files with root-only read rights

Categories

(Mozilla Localizations :: hu / Hungarian, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8.1

People

(Reporter: nm127, Assigned: kami911)

Details

Attachments

(5 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11 The Hungarian language pack available from http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.11/contrib-localized/seamonkey-1.1.11.hu-HU.langpack.xpi installs the files with root-only read rights when installing the language pack system-wide. The affected files are: seamonkey-1.1.11/chrome: -r-------- 1 root staff 810470 2008-07-29 12:07 hu-HU.jar -r-------- 1 root staff 25713 2008-07-29 12:07 HU.jar -r-------- 1 root staff 5300 2008-07-29 12:07 hu-mac.jar -r-------- 1 root staff 5547 2008-07-29 12:07 hu-unix.jar -r-------- 1 root staff 5619 2008-07-29 12:07 hu-win.jar seamonkey-1.1.11/defaults/messenger/HU: -r-------- 1 root staff 509 2008-07-29 12:06 mailViews.dat seamonkey-1.1.11/defaults/profile/HU: -r-------- 1 root staff 12384 2008-07-29 12:06 bookmarks.html -r-------- 1 root staff 1926 2008-07-29 12:06 bookmarks_original.html -r-------- 1 root staff 957 2008-07-29 12:06 localstore.rdf -r-------- 1 root staff 2683 2008-07-29 12:06 mimeTypes.rdf -r-------- 1 root staff 1653 2008-07-29 12:06 panels.rdf -r-------- 1 root staff 2863 2008-07-29 12:06 search.rdf seamonkey-1.1.11/defaults/profile/HU/chrome: -r-------- 1 root staff 1132 2008-07-29 12:06 userChrome-example.css -r-------- 1 root staff 697 2008-07-29 12:06 userContent-example.css seamonkey-1.1.11/dictionaries: -r-------- 1 root staff 595814 2008-07-29 12:06 hu.aff -r-------- 1 root staff 5131017 2008-07-29 12:06 hu.dic -r-------- 1 root staff 2228 2008-07-29 12:06 README-hu.txt seamonkey-1.1.11/searchplugins: -r-------- 1 root staff 605 2008-07-29 12:06 dmoz.gif -r-------- 1 root staff 756 2008-07-29 12:06 dmoz.src -r-------- 1 root staff 161 2008-07-29 12:06 dnp_cikk.gif -r-------- 1 root staff 457 2008-07-29 12:06 dnp_cikk.src -r-------- 1 root staff 161 2008-07-29 12:06 dnp_forum.gif -r-------- 1 root staff 458 2008-07-29 12:06 dnp_forum.src -r-------- 1 root staff 161 2008-07-29 12:06 dnp.gif -r-------- 1 root staff 450 2008-07-29 12:06 dnp.src -r-------- 1 root staff 275 2008-07-29 12:06 goliat.png -r-------- 1 root staff 1071 2008-07-29 12:06 goliat.src -r-------- 1 root staff 1076 2008-07-29 12:06 google.gif -r-------- 1 root staff 728 2008-07-29 12:06 google.src -r-------- 1 root staff 256 2008-07-29 12:06 hirkereso.png -r-------- 1 root staff 781 2008-07-29 12:06 hirkereso.src -r-------- 1 root staff 132 2008-07-29 12:06 hwswc.gif -r-------- 1 root staff 1005 2008-07-29 12:06 hwswc.src -r-------- 1 root staff 134 2008-07-29 12:06 hwswh.gif -r-------- 1 root staff 1003 2008-07-29 12:06 hwswh.src -r-------- 1 root staff 225 2008-07-29 12:06 jeeves.gif -r-------- 1 root staff 757 2008-07-29 12:06 jeeves.src -r-------- 1 root staff 450 2008-07-29 12:06 kereso.png -r-------- 1 root staff 826 2008-07-29 12:06 kereso.src -r-------- 1 root staff 357 2008-07-29 12:06 nepszabadsag.png -r-------- 1 root staff 1143 2008-07-29 12:06 nepszabadsag.src -r-------- 1 root staff 952 2008-07-29 12:06 origo.gif -r-------- 1 root staff 862 2008-07-29 12:06 origo.src -r-------- 1 root staff 1041 2008-07-29 12:06 startlap.gif -r-------- 1 root staff 973 2008-07-29 12:06 startlap.src -r-------- 1 root staff 231 2008-07-29 12:06 sxc.gif -r-------- 1 root staff 501 2008-07-29 12:06 sxc.src -r-------- 1 root staff 642 2008-07-29 12:06 sztaki_en-hu.png -r-------- 1 root staff 1210 2008-07-29 12:06 sztaki_en-hu.src -r-------- 1 root staff 564 2008-07-29 12:06 sztaki_fra-hu.png -r-------- 1 root staff 1230 2008-07-29 12:06 sztaki_fra-hu.src -r-------- 1 root staff 536 2008-07-29 12:06 sztaki_ger-hu.png -r-------- 1 root staff 1228 2008-07-29 12:06 sztaki_ger-hu.src -r-------- 1 root staff 638 2008-07-29 12:06 sztaki_hu-en.png -r-------- 1 root staff 1200 2008-07-29 12:06 sztaki_hu-en.src -r-------- 1 root staff 575 2008-07-29 12:06 sztaki_hu-fra.png -r-------- 1 root staff 1230 2008-07-29 12:06 sztaki_hu-fra.src -r-------- 1 root staff 583 2008-07-29 12:06 sztaki_hu-ger.png -r-------- 1 root staff 1226 2008-07-29 12:06 sztaki_hu-ger.src -r-------- 1 root staff 564 2008-07-29 12:06 sztaki_hu-ita.png -r-------- 1 root staff 1227 2008-07-29 12:06 sztaki_hu-ita.src -r-------- 1 root staff 557 2008-07-29 12:06 sztaki_hu-nl.png -r-------- 1 root staff 1225 2008-07-29 12:06 sztaki_hu-nl.src -r-------- 1 root staff 558 2008-07-29 12:06 sztaki_ita-hu.png -r-------- 1 root staff 1227 2008-07-29 12:06 sztaki_ita-hu.src -r-------- 1 root staff 559 2008-07-29 12:06 sztaki_nl-hu.png -r-------- 1 root staff 1227 2008-07-29 12:06 sztaki_nl-hu.src -r-------- 1 root staff 977 2008-07-29 12:06 sztakiw.gif -r-------- 1 root staff 1124 2008-07-29 12:06 sztakiw.src -r-------- 1 root staff 547 2008-07-29 12:06 telepuleskereso.png -r-------- 1 root staff 951 2008-07-29 12:06 telepuleskereso.src -r-------- 1 root staff 577 2008-07-29 12:06 utcakereso.png -r-------- 1 root staff 986 2008-07-29 12:06 utcakereso.src -r-------- 1 root staff 459 2008-07-29 12:06 wikipedia-hu.png -r-------- 1 root staff 1146 2008-07-29 12:06 wikipedia-hu.src Reproducible: Always Steps to Reproduce: 1. 2. 3. Workaround: after installing the language pack execute: # cd /usr/local/seamonkey # chmod a+r -R . in order to add read rights to all under /usr/local/seamonkey .
Assignee: installer → timar
Component: Installer → hu / Hungarian
Product: SeaMonkey → Mozilla Localizations
QA Contact: xpi-packages → timar
Target Milestone: --- → mozilla1.8.1
I also tried to install the German language pack found at http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.11/contrib-localized/seamonkey-1.1.11.de-AT.langpack.xpi . I installed the German language pack on a completely empty fresh installation of the Seamonkey 1.1.11. The files are installed as readable files to everybody, so this works correctly.
This problem is also reproducible with: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 and with language pack http://dfn.dl.sourceforge.net/sourceforge/hun/seamonkey-1.1.16.hu-HU.langpack.xpi
Created under Linux, after installing Seamonkey 1.1.16, seamonkey-1.1.16.hu-HU.langpack.xpi language pack. The language settings were changed to Hungarian and then Seamonkey was restarted.
I found a difference between http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.16/contrib-localized/seamonkey-1.1.16.hu-HU.langpack.xpi and http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/1.1.16/contrib-localized/seamonkey-1.1.16.de-AT.langpack.xpi The difference is visible with the "zipinfo -v" command. The seamonkey-1.1.16.hu-HU.langpack.xpi contains for each file: non-MSDOS external file attributes: 000000 hex MS-DOS file attributes (20 hex): arc However, the seamonkey-1.1.16.de-AT.langpack.xpi contains the following attributes: Unix file attributes (100644 octal): -rw-r--r-- MS-DOS file attributes (00 hex): none
Assignee: timar → okami_
Assignee: okami_ → kamihir
I extracted the seamonkey-1.1.16.hu-HU.langpack.xpi with unzip (UnZip 5.52 of 28 February 2005, by Debian. Original by Info-ZIP) to an empty directory. Then I zipped it again (Zip 2.32 (June 19th 2006), Info-ZIP). The attached repacked-seamonkey-1.1.16.hu-HU.langpack.xpi installs cleanly.
Marton, the langpacks should all be done by our build infra now and not expose this problem anymore, marking FIXED.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: