Re: XPInstall and Unix file permissions

Daniel Veditz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Jaagup Irve wrote:
> Hi,
> 
> 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?
> 
> 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?

-Dan Veditz
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.