Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have tried all the solutions offered on other posts but can not succeed to get Eclipse to run. I am logged in as Administrator. Here is error message when starting Eclipse

sudo eclipse
/usr/bin/eclipse: 5: /usr/bin/eclipse: /opt/eclipse/eclipse: Permission denied

Here is strace output:

strace -v /opt/eclipse execve("/opt/eclipse", ["/opt/eclipse"], ["LC_PAPER=en_US.UTF-8", "LC_ADDRESS=en_US.UTF-8", "SSH_AGENT_PID=2031", "LC_MONETARY=en_US.UTF-8", "GPG_AGENT_INFO=/run/user/ruddcl/"..., "TERM=xterm", "SHELL=/bin/bash", "XDG_SESSION_COOKIE=37e6f1c67c60e"..., "WINDOWID=67108870", "LC_NUMERIC=en_US.UTF-8", "GNOME_KEYRING_CONTROL=/run/user/"..., "GTK_MODULES=overlay-scrollbar", "USER=ruddcl", "LS_COLORS=rs=0:di=01;34:ln=01;36"..., "LC_TELEPHONE=en_US.UTF-8", "XDG_SESSION_PATH=/org/freedeskto"..., "XDG_SEAT_PATH=/org/freedesktop/D"..., "SSH_AUTH_SOCK=/run/user/ruddcl/k"..., "SESSION_MANAGER=local/Tashkent-0"..., "DEFAULTS_PATH=/usr/share/gconf/u"..., "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubu"..., "PATH=/usr/lib/lightdm/lightdm:/u"..., "DESKTOP_SESSION=ubuntu", "LC_IDENTIFICATION=en_US.UTF-8", "PWD=/opt", "GNOME_KEYRING_PID=1981", "LANG=en_US.UTF-8", "MANDATORY_PATH=/usr/share/gconf/"..., "LC_MEASUREMENT=en_US.UTF-8", "UBUNTU_MENUPROXY=libappmenu.so", "COMPIZ_CONFIG_PROFILE=ubuntu", "GDMSESSION=ubuntu", "SHLVL=1", "HOME=/home/ruddcl", "LANGUAGE=en_US:en", "GNOME_DESKTOP_SESSION_ID=this-is"..., "LOGNAME=ruddcl", "COMPIZ_BIN_PATH=/usr/bin/", "XDG_DATA_DIRS=/usr/share/ubuntu:"..., "DBUS_SESSION_BUS_ADDRESS=unix:ab"..., "LESSOPEN=| /usr/bin/lesspipe %s", "XDG_RUNTIME_DIR=/run/user/ruddcl", "DISPLAY=:0.0", "XDG_CURRENT_DESKTOP=Unity", "LESSCLOSE=/usr/bin/lesspipe %s %"..., "LC_TIME=en_US.UTF-8", "COLORTERM=gnome-terminal", "XAUTHORITY=/home/ruddcl/.Xauthor"..., "LC_NAME=en_US.UTF-8", "OLDPWD=/home/ruddcl", "_=/usr/bin/strace"]) = -1 EACCES (Permission denied) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_dev=makedev(0, 11), st_ino=5, st_mode=S_IFCHR|0620, st_nlink=1, st_uid=1000, st_gid=5, st_blksize=1024, st_blocks=0, st_rdev=makedev(136, 2), st_atime=2013/04/30-11:03:35, st_mtime=2013/04/30-11:03:35, st_ctime=2013/04/30-10:47:53}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1321b60000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: Permission denied\n", 32strace: exec: Permission denied ) = 32 close(3)
= 0 munmap(0x7f1321b60000, 4096) = 0 exit_group(1) = ?

share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.