Date: Thu, 11 Jul 2002 15:11:04 -0400 From: "sagacious" <sagacious@unixhideout.com> To: <freebsd-questions@freebsd.org> Subject: RE: Cant get browser to work as a user. Message-ID: <CGEIKJFNGMJHCMFBJGJFCEHMCBAA.sagacious@unixhideout.com> In-Reply-To: <20020711070727.GA59106@vectors.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
Man, you rock. It was the last mozilla script you mentioned that was executable only by root. however now it cannot open a required .so file in the /usr/X11R6/lib/mozilla directory.. For some reason the entire /usr/X11R6/lib/mozilla directory is readable only by root... Is it safe for me to chmod -R 755 /usr/X11R6/lib/mozilla ? /usr/X11R6/lib/ seems to be ok as all is readable to everyone, but the mozilla directory is not at all. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Adam Weinberger Sent: Thursday, July 11, 2002 3:07 AM To: sagacious Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Cant get browser to work as a user. take a look at /usr/X11R6/bin/mozilla. that is a shell script wrapper for mozilla-bin, which is the actual runtime executable. /usr/X11R6/bin/mozilla calls /usr/X11R6/lib/mozilla/mozilla, which is another shell script wrapper. this is the one that looks for the runtime, and is the file that is spitting out the error (line 75). this file calls run-mozilla.sh, ANOTHER shell script wrapper. however, it looks like your system is either (a) unable to find the script, or (b) is unable to execute it. as root, ls -la /usr/X11R6/lib/mozilla/run-mozilla.sh check to see: (a) it exists (b) it is executable by everybody. it should look like this: -rwxr-xr-x 1 root wheel 10K May 24 15:41 /usr/X11R6/lib/mozilla/run-mozilla.sh if this is all correct, check that /usr/X11R6/lib/mozilla/mozilla-bin has the same permissions. if the permissions on either of the files is incorrect, chmod the files as chmod 755 /usr/X11R6/lib/mozilla/run-mozilla.sh or whatever the offending filename is. failing any of this, reinstall the port. this has never been a problem on any of my machines. out of curiosity: did you install www/mozilla or www/linux-mozilla? -Adam >> (07.10.2002 @ 2012 PST): sagacious said, in 0.7K: << > > > hello once again. > > I got x up and i want a browser. I installed mozilla from the ports tree as > root, and when i am a user and run mozilla i get the following error. > "Cannot find mozilla runtime error" exiting. > However when i run it as root, i have no problems. Obviously, when run as a > user theirs a permission problem somewhere? But where would that be? Its of > no shock to you i dont want to run a browser as root. any info appreciated. -- "Oh good, my dog found the chainsaw." -Lilo Adam Weinberger adam@vectors.cx http://www.crackula.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CGEIKJFNGMJHCMFBJGJFCEHMCBAA.sagacious>