[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: [cdt-dev] Problem with non root accessing fileTableLock ?
|
Hi Kim,
when I install eclipse + CDT to Linux this means that I unpack the tar.gz files to a directory. After unpacking they have the user and group Ids from tar file, which are usually meaningless on my machine. So afterwards, in the eclipse top-level directory (where the executable sits) I do
chown -R root *
chown root .eclipseproduct
chown -R users *
chown users .eclipseproduct
so that all files belong to root / users.
Helpful?
Norbert
-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Kim Lux
Gesendet: Montag, 14. November 2005 23:17
An: cdt-dev@xxxxxxxxxxx
Betreff: [cdt-dev] Problem with non root accessing fileTableLock ?
Sorry to bug you guys, but I'm at a loss to figure this out. Eclipse
runs fine as root. As user it crashes. Runs fine as user without cdt.
Add cdt (either -3.0.0 or 3.0.1) and it crashes. Logged at bug 116187
at eclipse.org.
Any ideas ?
Thanks in advance.
Here is the command line log as user:
/usr/share/eclipse/eclipse
!SESSION 2005-11-14 15:10:01.910
-----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY
initial@reference:file:plugins/org.eclipse.core.runtime_3.1.1.jar/ 0 0
2005-11-14 15:10:02.450
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.runtime.PlatformActivator.start() of bundle
org.eclipse.core.runtime.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager
$EventThread.run(EventManager.java:291)
Caused by:
java.io.FileNotFoundException: /usr/share/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
at
org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
at
org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
at
org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
at
org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
at
org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
at
org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl
$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
... 10 more
Root exception:
java.io.FileNotFoundException: /usr/share/eclipse/configuration/org.eclipse.core.runtime/.manager/.fileTableLock (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at
org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:34)
at
org.eclipse.core.runtime.adaptor.FileManager.lock(FileManager.java:361)
at
org.eclipse.core.runtime.adaptor.FileManager.open(FileManager.java:658)
at
org.eclipse.core.internal.runtime.InternalPlatform.initializeRuntimeFileManager(InternalPlatform.java:786)
at
org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:1086)
at
org.eclipse.core.internal.runtime.PlatformActivator.startInternalPlatform(PlatformActivator.java:141)
at
org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:57)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl
$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:574)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:496)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:456)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager
$EventThread.run(EventManager.java:291)
--
Kim Lux, Diesel Research Inc.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev