Opened 12 years ago

Closed 12 years ago

#5077 closed Bugs (fixed)

instantiating managed_shared_memory in open_only mode changes permissions

Reported by: Rui Pedro Fernandes <ruipfernandes@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.45.0 Severity: Problem
Keywords: permissions Cc:

Description

OS: RHEL4, gcc 3.4.3

A process creates a named shm segment by instantiating class managed_shared_memory with create_only mode set and unrestricted permissions (-rw-rw-rw-) Another process launched by the same user attaches the shm using open_only mode. Permissions of the shm segment get changed (-rw-r--r--)

Change History (1)

comment:1 by Ion Gaztañaga, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in Boost 1.47

Note: See TracTickets for help on using tickets.