IBM Support

Permission denied messages on non-root installation of WebSphere Application Server V7.0

Troubleshooting


Problem

You notice during installation of WebSphere® Application Server V7.0, installation might fail when installing as non-root. This is due to changes in permissions during the installation procedure.

Symptom

Message similar to the following will be seen in the installation log:

(Jan 01, 2009 03:14:15 AM), Process, com.ibm.ws.install.ni.ismp.mediaspanning.InstallNIFMaintenanceMediaSpanning,
 err, com.ibm.ws.install.ni.framework.NIFException: /tmp/WAS70Install/WAS/docs/installdiagrams/ibmdita.css (Permission denied)
 at
com.ibm.ws.install.ni.ismp.mediaspanning.InstallNIFMaintenanceMediaSpanning.
executeThisInstallPackage(InstallNIFMaintenanceMediaSpanning.java:258)
...

Cause

During installation, some files might lose permissions during the installation. This is not an issue with the root user, as they do not need permissions to access files. For non-root users, this prevents installation files from being read, preventing a successful installation.

Resolving The Problem

Change the permissions in the directories having failures so that read permissions are restored. Locate the directory that is having the failure in the installation directory and run the following command:

chmod -R +r  <INSTALL_IMAGE>

In the preceding example, the command would be the following:

chmod -R +r /tmp/WAS70Install/WAS/docs/

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Install","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21367246