You are not logged in.

#1 2005-02-08 08:34:24

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

HOWTO mozilla apps install extensions & themes as user

For a long time I have been looking for making mozilla based applications be able to install themes, extensions and search engines in the case of firefox as a user, while using the distribution provided packages, and not packages from mozilla.org installed on the user directory.  And found a solution that allows a user to do it, and at the same time, controls who can do it.

1. Create a mozilla group.

$ groupadd mozilla

2. Add the users you want to modify mozilla apps settings to that group.
3. Change the group owner of /opt/mozilla and all its subdirectories.

$ chown root:mozilla /opt/mozilla -R

4. Change the directory priviledge that also the group can write to the directory, not just the user.

$ chmod 775 /opt/mozilla -R

5. Exit and login again to update your profile.
6. Execute your mozilla application like firefox, visit mozilla.com and get your favorite theme, extension, or search engine.

Offline

#2 2005-02-08 16:19:23

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: HOWTO mozilla apps install extensions & themes as user

Thanks! I've been wondering about this for ages too. Would be great if it went in the wiki!


Dusty

Offline

#3 2005-02-08 16:21:21

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: HOWTO mozilla apps install extensions & themes as user

good call

Offline

#4 2005-02-12 06:23:47

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: HOWTO mozilla apps install extensions & themes as user

One obvious note I forgot to tell.  If you update any of the mozilla based programs (ie. a new package version) need to do the steps again since all Arch mozilla packages install files as root.

Offline

#5 2005-04-13 23:08:55

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: HOWTO mozilla apps install extensions & themes as user

darkcoder wrote:

One obvious note I forgot to tell.  If you update any of the mozilla based programs (ie. a new package version) need to do the steps again since all Arch mozilla packages install files as root.

Is there any way to prevent this? A script or something perhaps?


·¬»· i am shadowhand, powered by webfaction

Offline

#6 2005-04-14 04:32:30

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: HOWTO mozilla apps install extensions & themes as user

Maybe a better method of installing them?

Offline

#7 2005-04-14 23:49:14

darkcoder
Member
From: A bar near you
Registered: 2004-09-10
Posts: 310

Re: HOWTO mozilla apps install extensions & themes as user

The best would be if they are installed as a group rather than root in the first place, but that's up to the package maintainers.

But a script should do it, if executed at startup on every boot, like from /etc/rc.local and reset the /opt/mozilla folder permisions thus that way applying to all mozilla related progs installed

Offline

Board footer

Powered by FluxBB