Installing fixes as a non-root user
Grant permissions to a non-root user to install fixes.
This task applies only to HCL Connections™ deployments on Linux®.
By default, only root users have the necessary permissions to install fixes for an Connections deployment. You can permit non-root users to install fixes by changing their permissions to access certain data directories.
To grant the necessary permissions to a non-root user, complete the following steps:
-
Create a non-root user.
-
Create a home directory for the new non-root user.
-
Open a command prompt and grant the appropriate permissions to the non-root user by running the commands shown in the following table:
Directory Permissions Command app_server_root RWX chown -R non-root_user app_server_root connections_root RWX chown -R non-root_user connections_root path/tmp/efixes RWX chown -R non-root_user tmp/efixes where non-root_user is the account ID of the new non-root user and path is the path to the efixes directory.
Note: Verify that the /tmp/efixes directory already exists before running the chown command.
When you have granted the necessary permissions, the non-root user can install fixes and fix packs.
Note: If different non-root users intend to install fixes, you must first delete any files that might remain in the download directories since you installed earlier fixes.
Example
Grant permissions to a new non-root user who wants to install a fix pack for an Connections deployment on Linux:
- Create a non-root user account called fix_installer.
- Create a home directory for the fix_installer user account.
-
Open a command prompt and run the following commands:
-
chown -R fix_installer /opt/IBM
Note: In this example, the opt/IBM directory contains both the app_server_root and connections_root directories.
-
chown -R fix_installer /usr/IBM
Note: If the /usr/IBM directory does not exist, create it.
-
-
Advise the new non-root user to log in and then download and install the latest fixes for Connections.
Parent topic: Updating Connections 8.0 with the latest fixes