Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed the MyEclipse 10.1 via root permission and now when I want to run this program by my own user, it says that /opt/MyEclipse/MyEclipse\ 10/ is not writable! How can I solve this problem?!

share|improve this question

2 Answers 2

up vote 0 down vote accepted

It should be enough for your user to own it. From a terminal, try the following:

chown -R $(whoami) /opt/MyEclipse

If you require other users to use that software, you need to let them run the MyEclipse executable as root. Per this forum entry by one of MyEclipse's support members:

The only way to get that to work is to run MyEclipse as root -- because MyEclipse launches the server processes directly, so they launch with the original perms of the myeclipse process (in which case a normal user could never launch JBoss as root).

You did pay for that software – Try and use their support forums in case of problems – that's what you paid for.

share|improve this answer
    
Is there any way to keep this folder for root user, I mean the root user remains the owner of this folder, but all users can work with this program?! –  Milad Irannejad May 13 '12 at 17:25
    
Can't you just start the program's executable with sudo privileges? That way it'll have write access. –  slhck May 13 '12 at 17:27
    
I wouldn't recommend running random stuff as root/with sudo. Seems like poor application design if it requires users to have write permission in its installation area, though. –  geekosaur May 13 '12 at 17:29
    
@geekosaur Precisely what I was going to suggest next. Contact the vendor, maybe file a bug report. –  slhck May 13 '12 at 17:31

Uninstall MyEclipse and re-install it as your own user - not to /opt.

As others have mentioned, the myeclipse forums are the best place to ask questions about myeclipse.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.