am able to run firefox off console as SU, but not as user...
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
am able to run firefox off console as SU, but not as user...
Hi.
I had d/led firefox from slackwares website, and use installpkg to install it. Now if i type 'firefox' in console in SU mode it will run just fine, but if i'm in normal user mode it wount run... why?
Because of permissions problem. Try to locate your firefox dir then look if it has permissions to read (and maybe execute too) for other user than root ( rwxr-xr-x ).
To just chown the firefox directory is not enough, you have to do it recursively,
chown -R username /path/to/firfox
that way it descends into the firefox folder and changes the permissions on every file. After you've run Firefox once and it's created your profile, chown it back to root, you don't want to be browsing with a browser you can write to.
chown -R root:root /path/to/firefox
recursing chowning worked, thanks.
however creating a profile (i even had set the setting folder to me in user folder) and giving firefox back to root didnt' do much.
can i set it so user can read but not write? or that is the default?
Users should be able to read the directory by default. Try "chmod -R go+r /path/to/firefox"
That will give read permissions to pretty much everybody. It's good to keep directories under the ownership of root, so you don't accidentally nuke them one day. So keep it under root:root, and to make sure you can't write to it, "chmod -R go-w /path/to/firefox"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.