Checking the permission of the installation directory

This is part of the larger task of customizing your z/OS® environment.

About this task

You must ensure that the appropriate user IDs, for example, the IBM® Integration Bus Administrator and all component Started Task user IDs, have READ and EXECUTE permission to the IBM Integration Bus installation directory.

Using group access control to set these permissions.

Procedure

  1. Display the permissions on the installation directory using the ls command.
    ls -l /usr/lpp/mqsi
    
    This command displays lines like the following response:
    drwxr-xr-x   2 TSOUSER  MQM     8192 Jun 17 09:54 bin
    
    In this example, MQM is the group associated with the directory. Those user IDs requiring permission to the directory must be a member of this group.

    This example also shows the permissions defined for the directory. User TSOUSER has rwx (READ, WRITE, and EXECUTE), group MQM has rx, and any other user ID has rx.

  2. Ensure that the user IDs requiring permission have a group that matches that of the installation directory. Use the following command, where userid is the ID you want to check:
    id <userid>
  3. If the installation directory does not have a valid group, use the command chgrp to set the group of the directory:
    chgrp -R <group> <pathname>
    For example:
    chgrp -R MQSI /usr/lpp/mqsi
    You must be the owner of the group or have superuser authority to use this command.
  4. If the installation directory does not have the correct permissions for the group (READ / EXECUTE), use the command chmod to change the permissions:
    chmod -R g=rx <pathname>
    For example:
    chmod -R g=rx /usr/lpp/mqsi