Checking the permission of the installation directory

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

Start of changeYou must ensure that the appropriate user IDs, for example, the WebSphere Message Broker Administrator and any component Started Task user IDs have READ and EXECUTE permission to the WebSphere Message Broker installation directory.End of change

You are recommended to set these permissions using the group access control.

Start of change
  1. Display the permissions on the installation directory using the ls command.
    ls -l /usr/lpp/mqsi
    This command displays lines similar to the following:
    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 have to 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
End of change
Related concepts
Brokers
Broker domains
Related tasks
Customizing the z/OS environment
Related reference
mqsicreatebroker command