Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've googled around for a suggestion on how to do this but havn't found anything useful, so I figured I'd ask here.
Anyway, I downloaded firefox (the .tar.gz not the installer) and I'm having trouble getting it to work system wide. I can put it in my home directory and run it just fine. What I'd like to do is put it in /usr/local/firefox and have everyone who logs into my system be able to use it.
I am able to run it as root so it's obviously a permission problem. My question is, what permissions need to be set where such that I can have one install vs a seperate install per user.
In any case, to activate a non-installer version, just move it to a global directory like /usr/local/firefox and execute the following command: chmod -R 755 /usr/local/firefox. Then every user should be able to execute /usr/local/firefox/firefox & and have it run and create a profile in the user's home directory.
There is an installer, however, even with that, and installing it in /usr/local/firefox, I'm still only able to run it as root. I did try chmod -R 755 but it still didn't help. Apparently there is someplace within the directory structure that a non-root user needs write access too.
Run the installer as a regular user and install in your home directory. Then copy the directory to /usr/lib/ and rename it to firefox-0.9.1 or whatever version you are using. From the directory, copy the firefox script named firefox to /usr/bin. That should do it.
All it would do is display *** loading the extensions datasource over and over and over and not actually load firefox. I had to CTRL-C to stop it.
Archite:
That worked perfectly, except I had to put it in /usr/local/firefox-0.9.1 (though I could have edited the script to point somewhere else I guess). Thanks for fix! Now, what I'm curious about is, where did you dig up that fix and what exactly does putting the files in those locations do that makes it run?
Sorry I was off. I was not on linux at the time that I wrote it. Actually, I had looked at the firefox script and saw where it was pointing to. Then I moved the files there. LoL. That's what happens when you have too much time on your hands. Anyways, heres why it works. In order for the files to have the right permissions a regular user must creat all the files by running the installer script. Bye then copying them over the the /usr/local directory, you have made them accessible to everyone on the computer. The script, firefox, then points to this location and runs the appllication. Have fun
I´ve just tried installing firefox on Mandrake 10.0. I installed it initially to /home and then copied the directory to /usr/local so that it would be available to all users.
However my problem is that if I go edit -> preferences and try to make a change firefox won´t let me click on to OK button to update my changes??
If I just run firefox from /home then I can update without any problems. Any thoughts?
Well, usually preferences are stored in a directory labeled .mozilla within your home directory. I would check to see if that direcotry exists, and if it does, remove all the firefox related folders within and then try again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.