| Summary: | problems running eclipse as root on unix like systems | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Don Cohen <don-eclipse> |
| Component: | Launcher | Assignee: | Project Inbox <equinox.launcher-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jamesblackburn+eclipse, overholt, remy.suen, yevshif |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | stalebug | ||
|
Description
Don Cohen
What Don would like is some way for the launcher to know that it's running as uid 0 and write to /root instead of the installation directory. Of course, this may break existing clients so perhaps it should be a switch (-Drootwritestoinstallation or something less verbose). In general running user apps as root is a bad idea... That said, Andrew why don't you use a wrapper script for users to run Eclipse, which points the configuration into their home directory? http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/multi_user_installs.html The installer can by default make the whole install read-only: chmod -R -w /path/to/eclipse-install There shouldn't be any reason for an eclipse runtime to write to the central install location, so why not make it readonly? I've tried to steer clear of wrapper scripts as they can lead to ugly bugs but if more users run into the situation that Don did it may be the best option. Thanks for the suggestion. I think this may have been assigned to the wrong component. I figure someone will fix it if I'm wrong :) This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |