LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-09-2005, 10:15 AM   #1
epheles
LQ Newbie
 
Registered: Jan 2005
Location: US
Distribution: Debian
Posts: 10

Rep: Reputation: 0
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?
 
Old 01-09-2005, 10:24 AM   #2
linuxgeekery
Member
 
Registered: Jul 2004
Location: Austin, Texas!
Distribution: Gentoo
Posts: 121

Rep: Reputation: 15
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.
 
Old 01-09-2005, 10:43 AM   #3
Heinz
Member
 
Registered: Apr 2002
Location: Amsterdam (NL)
Distribution: Fedora 17
Posts: 38

Rep: Reputation: 15
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?
 
Old 01-09-2005, 11:42 AM   #4
epheles
LQ Newbie
 
Registered: Jan 2005
Location: US
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
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.
 
Old 01-09-2005, 12:05 PM   #5
Heinz
Member
 
Registered: Apr 2002
Location: Amsterdam (NL)
Distribution: Fedora 17
Posts: 38

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
program only runs as root mjkramer Linux - Newbie 5 11-22-2004 11:32 AM
x only runs in root Bigfut Red Hat 1 08-19-2004 03:43 AM
Mozilla runs applets when I'm logged in as root, but not my other login. tdr_nj Red Hat 2 04-29-2004 12:19 AM
Eterm 0.9.2 runs only as root! Mysterious Alan Slackware 3 09-30-2003 12:35 AM
root=mozilla runs, user=no worky the_tflk Linux - Software 5 07-13-2003 05:54 AM


All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration