LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mozilla (1.7) only runs in root. (https://www.linuxquestions.org/questions/linux-newbie-8/mozilla-1-7-only-runs-in-root-275688/)

epheles 01-09-2005 09:15 AM

Mozilla (1.7) only runs in root.
 
When I try running Mozilla (the stock one in Slackware, not Firefox) it doesn't open.. when I try opening in terminal I get:

bash-2.05b$ mozilla
*** Registering -webcal handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.

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?

linuxgeekery 01-09-2005 09:24 AM

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.

Heinz 01-09-2005 09:43 AM

Re: Mozilla (1.7) only runs in root.
 
Quote:

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:

bash-2.05b$ mozilla
*** Registering -webcal handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.

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?

epheles 01-09-2005 10:42 AM

Quote:

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

-rwxr-xr-x 1 root bin 4104 2004-06-18 16:58 mozilla-config
-rw-r--r-- 1 root root 2309 2004-06-18 16:57 mozilla-config.h

So I think that means root owns it, correct?

Quote:

Originally Posted by Heinz
Has it ever worked? If so: did you change anything? Install extensions, for example?
Who owns whatever directory mozilla is in?

Nope, it never worked (as a regular user). And root owns /usr/bin/mozilla for some reason.

Heinz 01-09-2005 11:05 AM

Quote:

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.


All times are GMT -5. The time now is 02:54 PM.