The SASĀ® Embedded Process for SAP HANA installation script fails with "Error: User root is not allowed to execute..."


When running the InstallSASEPFIles.sh script to try to install the SAS Embedded Process for SAP HANA, you might encounter the following error:

Error: User root is not allowed to execute Softlink hana_saslink_ep.so error in /usr/local/lib

A workaround for this issue is to follow the steps below:

  1. Open the InstallSASEPFIles.sh script file and remove the word sudo from the two lines of code that create the symbolic links.

    Note: In this step, the InstallSASEPFIles.sh script creates the configuration file and sets its owner to root. Because the file must be read by the SAS Embedded Process at startup time, you must complete step 2 below.

  2. Explicitly set the permissions on the generated SAS Embedded Process configuration file, .../SASEPHome/misc/sasenv.cfg, to 644 or 755.