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.
Before you beginThe users must be in the same group.
- Procedure
- Set the
umaskas follows:umask u=rwx,g=rwx,o=rx
After setting theumaskglobally, the application process automatically creates a segment that different users can access.