Re: per-user XPI install?

Daniel Veditz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Michael Bravo wrote:
> The problem looks like this: I have a Mozilla 1.0 installed from a 
> Debian package. That is, installed system-wide by root user. 
> Consequently, non-root users are unable to install XPIs, because 
> /usr/lib/mozilla is protected by Unix permissions to them. I know that I 
> can browse to the installation of a particular XPI as root, then (for 
> some XPIs) restart Mozilla to register new components. The question is - 
> is it at all possible to install components for system-wide installed 
> Mozilla on a per-user basis? That is, Mozilla stays in /usr/lib/mozilla, 
> but for a prticular user, there's something only s/he needs in his 
> ~/.mozilla/.../chrome directory?

Language pack install scripts are already written to do this correctly -- if
they can't install globally they install into the profile chrome directory.
Currently the chrome registry doesn't support profile chrome *content*, only
skins and locales, so the install script authors of those add-on packages
have not bothered to make their scripts handle the access error.

Once the chrome system can handle it then it's not too hard to make the
installs work.

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