You are not logged in.
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
Thanks! I've been wondering about this for ages too. Would be great if it went in the wiki!
Dusty
Offline
Offline
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
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
Maybe a better method of installing them?
Offline
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