| Install CDT2.0M6 as root, no run as user [message #93081] | 
Sun, 01 February 2004 12:56   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Under SuSE 8.2 on a PC, I installed Eclipse 3.0M6-gtk from zip file as  
root into /usr/local/eclipse. Eclipse works fine as either root or user tom. 
 
Next, running Eclipse as root, used the automated download/install link  
for CDT 2.0M6. Running as root, CDT works fine. But running as user tom,  
I can't get at the CDT. 
 
I tried a couple variations. I said yes to the "restart now" option as  
root. At that point, user tom running Manage Configuration can see the  
managed-make and standard-make updates, but can't install them because  
they depend on CDT-core -- which is nowhere to be found (but root can  
see it!). 
 
Reinstalled everything from scratch, and tried saying no to "restart  
now" after CDT download. Now user tom doesn't see any sign of the new  
update. Restarted Eclipse as root and did the install from Manage  
Configuration, so CDT now works for root. Back to user tom, still no  
joy. Tried to update user tom, update site says everything's up to date! 
 
I've made sure there's nothing lurking in tom's working directory that's  
owned by root. So I'm guessing I've got the opposite problem: Something  
in /usr/local needs to be writable by tom to do the install. 
 
This is my home PC and I'm the only user, so installing Eclipse as tom  
in my own home directory will doubtless work. But /usr/local, owned by  
root, would be the right way to do this in a large multi-user  
environment (right?), which I hope I'll be doing one day soon. So any  
advice or expressions of sympathy on that subject will be welcome! 
 
-- Tom Skelly
 |  
 |  
  | 
| Re: Install CDT2.0M6 as root, no run as user [message #93126 is a reply to message #93081] | 
Mon, 02 February 2004 05:14   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: Per.A.Blaasmo.norbit.no 
 
Tom Skelly wrote: 
 
> Under SuSE 8.2 on a PC, I installed Eclipse 3.0M6-gtk from zip file as  
> root into /usr/local/eclipse. Eclipse works fine as either root or user tom. 
 
> Next, running Eclipse as root, used the automated download/install link  
> for CDT 2.0M6. Running as root, CDT works fine. But running as user tom,  
> I can't get at the CDT. 
 
> I tried a couple variations. I said yes to the "restart now" option as  
> root. At that point, user tom running Manage Configuration can see the  
> managed-make and standard-make updates, but can't install them because  
> they depend on CDT-core -- which is nowhere to be found (but root can  
> see it!). 
 
> Reinstalled everything from scratch, and tried saying no to "restart  
> now" after CDT download. Now user tom doesn't see any sign of the new  
> update. Restarted Eclipse as root and did the install from Manage  
> Configuration, so CDT now works for root. Back to user tom, still no  
> joy. Tried to update user tom, update site says everything's up to date! 
 
> I've made sure there's nothing lurking in tom's working directory that's  
> owned by root. So I'm guessing I've got the opposite problem: Something  
> in /usr/local needs to be writable by tom to do the install. 
 
> This is my home PC and I'm the only user, so installing Eclipse as tom  
> in my own home directory will doubtless work. But /usr/local, owned by  
> root, would be the right way to do this in a large multi-user  
> environment (right?), which I hope I'll be doing one day soon. So any  
> advice or expressions of sympathy on that subject will be welcome! 
 
> -- Tom Skelly 
 
 
I had the same problem :-) 
I do not know the answer, but my workaround was to change the owner of all 
the files under /usr/local/eclipse to my local user. Doing that made the 
CDT appear for both root and my local user. 
 
Why? I do not know :-) So if anyone could give a correct answer an 
solution it would be nice. 
 
Per A.
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04940 seconds