Re: Java permissions for multiple users?
From: Ian Gil (i_at_NOSPAMALLOWED.com)
Date: Sat, 04 Oct 2003 05:44:37 GMT
>> As root I've installed java at /usr/local/j2re1.4.2_01 but have run into a snag
>> in that it will only run if I chown -R user.user j2re1.4.2_01 where user is the
>> user who will use java, and any other user will not be able to use it
>> successfully as the browser will crash upon encountering a java web page. This
>> is odd because about:plugins shows everything ok until a java page is
>> encountered, then boom! down browser and all. I'm running mozilla and have a
>> link from
>> I'd like to avoid having to install java in every user's home directory if
> Ian, who owns the file and the link? Mine is 1000 (not a user)
> and root.
A regular user owns them both since I had to do
chown -R <regular user>.<regular user> j2re1.4.2_01
to get that to work only for the specified regular user.
root.staff owned it originally.
> Also, do you have each user's path modified to include
> /usr/java/j2re1.4.2_01/ ?
I don't have a /usr/java I have
> With these specifications, multiple
> users make use of the system java2 runtime.
I'll try the /usr/java location with the default root.staff ownership,
if this is what's working for you and the correct installation
location/ownership. I installed this from the run time binary at sun.com
but where's the documentation for this? Sun's site just tells you
to decompress their java binary at the "location where you would like the
files to be installed" which leaves thing pretty open.