Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2012 16:33:21 -0400
From:      John Schneider <john.a.schneider@gmail.com>
To:        freebsd-eclipse@FreeBSD.org
Subject:   FreeBSD Port: java/eclipse
Message-ID:  <CAJdGomWXmorV=6zDj7SdUoQ4pKEGFQyqj%2BUB5e7ZGkwrrWndzQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Several eclipse files are installed into /usr/local/lib/eclipse without
world readable permissions.  This causes eclipse to have problems with
using plugins installed by non-root user.  Plugin installation looks like
it works, but after workbench restart, they are not usable.

Reference:
http://lists.freebsd.org/pipermail/freebsd-eclipse/2012-July/001775.html

After running "find /usr/local/lib/eclipse -type f \! -perm +004" the
following were found on a clean install of eclipse 3.7.1_1:
/usr/local/lib/eclipse/plugins/javax.el_2.2.0.jar
/usr/local/lib/eclipse/plugins/javax.servlet.jsp_2.2.0.v200806031607.jar
/usr/local/lib/eclipse/plugins/javax.servlet_3.0.0.v201103241727.jar
/usr/local/lib/eclipse/plugins/org.apache.commons.el_1.0.0.v201004212143.jar
/usr/local/lib/eclipse/plugins/org.apache.tomcat_7.0.21.jar
/usr/local/lib/eclipse/plugins/org.apache.el_7.0.21.jar
/usr/local/lib/eclipse/plugins/org.apache.juli_7.0.21.jar
/usr/local/lib/eclipse/plugins/org.apache.jasper_7.0.21.v201004212143.jar

After running "chmod -R +r /usr/local/lib/eclipse" I was able to install
and use plugins installed by non-root user.

Please add post-install command to port to change file permissions so
everything is readable.

Thanks!
John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJdGomWXmorV=6zDj7SdUoQ4pKEGFQyqj%2BUB5e7ZGkwrrWndzQ>