Spectrum installation fails on Linux with permission denied errors.

Document ID : KB000044648
Last Modified Date : 14/02/2018
Show Technical Document Details



While trying to install Spectrum 10.1.1 on linux system, we receive a permission denied error.  The installer starts and unpacks the files but after unpacking, the process stops with permission errors as follows: line 3420: /tmp/install.dir.2855/Linux/resource/jre/bin/java: Permission denied line 3420:cexec: /tmp/install.dir.2855/Linux/resource/jre/bin/java: cannot execute: Permission denied 


This happens on hardened linux servers so the version is irrelevant.



It is standard practice in many organizations to harden new servers, to make them more secure. 

One such security measure is to remove execute permission from the tmp folder via fstab.



Run per "root" the mount command to get a full listing for all partitions and configured options.

Edit /etc/fstab file to check the following configuration options and remove noexec for the "/tmp" partition.


noexec – Do not set execution of any binaries on this partition (prevents execution of binaries but allows scripts).

Sample /etc/fstab entry to to limit user access on /dev/sda5 (ftp server root directory):


/dev/sda5  /ftpdata          ext3    defaults,nosuid,nodev,noexec 1 2


The other fstab entries do not have any effect on this error.

nodev – Do not allow character or special devices on this partition (prevents use of device files such as zero, sda etc).

nosuid – Do not set SUID/SGID access on this partition (prevent the setuid bit).



Additional Information: