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


  Search this Thread
Old 12-15-2008, 11:23 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 19

Rep: Reputation: 0
Can Permissions Bollix Java Runtime Environment?

I'm a relatively new user of Ubuntu, version 8.04. I recently had a system glitch that disabled my $HOME/.dmrc directory. I managed to get my home directory back under my ownership with 644 privileges, and went on about my business. Then a couple of days later (today) I noticed that a website that required Java wasn't running right.

I checked Firefox's preferences and "Enable Java" is checked. My Java Runtime Environment is installed - and it was working a week or so ago when I visited this same website. However I went back to my firefox and java directories (the former is in my /usr/lib directory and the latter in my home directory) and noticed that the ownership of the directories is different: $HOME/java is owned by me (as it should be since I changed the ownership of my home directory back to myself recently), but /usr/lib/firefox-3.0.4 is owned by root.

The normal process of enabling Java involved placing a link to my JRE (in $HOME/java) in my firefox folder. Did changing ownership of that $HOME/java folder while leaving my firefox folder with root break that link?
Old 12-16-2008, 09:33 AM   #2
Registered: May 2002
Location: Thorverton, Near Exeter, Devon, England
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 105

Rep: Reputation: 16
Did you perhaps set 644 privileges on subdirectories in your home directory? If you do ls -la you should see directories with drwx------ or drwxr-xr-x i.e. "executable" permission should be enabled on directories. If you see them as drw-r--r-- then you must have applied your 644 setting to directories - if so then just give the directories the x permission.


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
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 04:04 AM
Java 2 Runtime Environment phantom_cyph Linux - General 33 03-03-2007 04:42 PM
Java runtime environment WayneS Linux - Software 2 09-07-2006 05:47 PM
java runtime environment neilcpp Slackware 1 12-21-2005 06:45 AM
Which Java Runtime Environment to use? r_jensen11 Linux - Software 4 09-13-2003 07:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 PM.

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