Before installing and running IBM® Installation Manager in
group mode on Linux, UNIX, and z/OS® computers, set the default permissions
for each user in the group. All users within the group must have equal
permissions to share read and write capabilities for the files being
managed by the group.
Before you begin
Set the primary group for each user to the group that is
sharing the instance of the group
Installation
Manager. If the primary group is not set, the user must
run
chgrp to change the group associated with the
user’s installed files.
About this task
Permissions can be set by the system administrator or
by a group member. An administrator can set permissions for all users
or each user can set permissions individually.
You must set
permissions for the
Installation
Manager installation directory, application data location,
shared resources directory, and target installation directory for
each installed product. To set permissions, run the following command
on each of the directories:
chmod -R g=u
This
command sets the permissions of the containing directories and files
such that the group permissions are equal to owner permissions
One
method for setting permissions is to set the user mask for the group.
The options for setting the user mask are outlined in the Procedure
section. Setting the user mask is the most efficient method for managing
user permissions.
If you cannot set the user mask, you can
run the change mode command in each directory location to give group
users access to the files.
Attention: If you do not set
the user mask, you must run the change mode command each time a different
user works with
Installation
Manager. If the change mode command is not run, issues can
occur due to file permissions.
For example, user1 installs a package.
User2 opens Installation
Manager to modify a different package. User2 does not have
access to Installation
Manager files created by user1 because the change mode command
was not run before user2 started Installation
Manager. User2 receives a permission denied error.
Procedure
To set permissions through a user mask, do one of the
following tasks:
- Run the user mask command with the minimum value to give
all group users equal permissions to the group owner. All files created
in group mode after setting the user mask are given these same permissions.
- Edit the appropriate global startup script to set the user
mask for all users in the group. Examples: /etc/profile or /etc/bashrc
- Edit the appropriate startup script in the users' home
directory to edit the user mask for each user individually. Example: $HOME/.bashrc