Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] File permissions on HP-UX

Eclipse Install/Update team is in the process of addressing the problem of
file permissions being lost on UNIX platforms during install or update.
Since file permissions are not preserved when plug-ins and/or fragments are
packaged into a JAR archive, we will introduce a control file called
'' that needs to be placed in the root
plug-in/fragment directory. The file uses standard Java properties syntax
and is very simple:

permissions.executable = <file>,<file>,<file>




The value for the key 'permissions.executable' is a comma-separated list of
files that need their executable bit set when installed in one of the
supported UNIX platforms (Linux, Solaris, HPUX, AIX). The rules for the
list are identical to that of file for their similar
properties (bin.includes, src.includes etc.).

For 2.0.1 release, the most urgent case is HPUX because its native shared
libraries (*.sl) need to be executable in order to load. At present, we
don't ship executable UNIX programs or shell scripts that also require this
treatmant. Eclipse-based programs that do will use need to use this
mechanism in their plug-ins.

We contacted SWT team since they own HPUX libraries in their
org.eclipse.swt.motif plug-in. For other Eclipse plug-in owners: if you
have an HP-UX library or any other Unix (Lunux, Solaris, HPUX, AIX) file,
program or script that needs to be executable when installed using Eclipse
Install/Update mechanism, please list them in the ''
file as described above. The files need to be in for 2.0.1 release.


Dejan Glozic, Ph.D.
Application Development
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854

Back to the top