Re: XPInstall and Unix file permissions

Andrea <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization MLP Staff
Message-ID <[email protected]>
Gunner Poulsen wrote:
 > Daniel Veditz wrote:
 > > Jaagup Irve wrote:

 >>> I ran into problems when creating a language pack. The problem is
 >>> that when I install the language pack as root, the file will not
 >>> be readable to other users due to its permission bits.
 >>>
 >>> For what I have understood from a bug I found, the installed jar
 >>> file preserves the permission it was packed with into xpi. I'm
 >>> unable to zip the 755 permission within Windows, am I?

Am I wrong or zip under Unix can?

 >>> Is there a way to tell in install.js to set the file permissions
 >>> to normal during installation?
 >>
 >> If there are no unix-style permissions found in the archive we
 >> create the file with mode 644, or at least that's what the code
 >> says. What are you seeing?
 >
 > 440!
 > And that is the main problem for the moment in the Danish
 > translationproject.

Could you give an URL to have a look at your lang pack?
On which distribution are you testing? (or which Unix flavour?)
 >From which packaging did you installed mozilla? (installer, tar.gz,
RPM, .. ?)

Bye. Andrea

     (_mm_)                                          (_mm_)
      (Oo)        ^     |         (    |              (--)
~,-,_/(°°)      / \ n o| r e a    ) a | m a $ o     (°°)\_,-,~
  /      O         e-mail: [email protected]          ~   WW \
  \   (  )                                            (  )   /
   |~| ||    Do NOT Reply!! Use the address above!     || |~|
    n n nn      O==m PGPkeyavailable ICQ5242052       nn n n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.