Configuring a Shared Memory Transport for Access by Different Users: UNIX

On UNIX platforms, the shared memory segment underlying a shared memory transport belongs to a specific user. Nonetheless, you can configure the UNIX environment so that different users can access it.

Prerequisites

The users must be in the same group.

Procedure

  • Set the umask as follows:
    umask u=rwx,g=rwx,o=rx
    After setting the umask globally, the application process automatically creates a segment that different users can access.