Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
And it just hangs. When I try opening it from root, however, it works fine. I tried chmoding /usr/bin/mozilla to 777 (which is probably a dumb and dangerous thing to do) and it still doesn't open with regular users. My question is.. why does it do this and how can I fix it?
Originally posted by epheles When I try running Mozilla (the stock one in Slackware, not Firefox) it doesn't open.. when I try opening in terminal I get:
And it just hangs. When I try opening it from root, however, it works fine. I tried chmoding /usr/bin/mozilla to 777 (which is probably a dumb and dangerous thing to do) and it still doesn't open with regular users. My question is.. why does it do this and how can I fix it?
Has it ever worked? If so: did you change anything? Install extensions, for example?
Who owns whatever directory mozilla is in?
Originally posted by linuxgeekery Maybe try doing this: sudo chmod +x /usr/bin/mozilla, or if you don't have sudo, do su -c "chmod +x /usr/bin/mozilla"
If this doesn't work, mozilla's config file might be owned by root, or it was just a funky install.
Hmm, well.. after doing "ls -Rl / | grep mozilla-config" I get
Originally posted by epheles Nope, it never worked (as a regular user). And root owns /usr/bin/mozilla for some reason.
Root owning mozilla shouldn't be a problem, as long as it's world (or at least group) executable. Also, your mozilla executes, otherwise it wouldn't be registering stuff.
Is /usr/bin/mozilla the actual executable or just a symlink? I'm asking because the default installation directory (as used by mozilla.org's own installers) is /usr/local/mozilla/ , though it may be different on Slack. On my system, /usr/bin/mozilla is just a symlink to /usr/local/mozilla/mozilla. All files in /usr/local/mozilla are owned by root and set to rwrr-xr-x.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.