Subject: [Boost-bugs] [Boost C++ Libraries] #5548: Boost interprocess shared memory mutex requires root permissions on Linux
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-18 13:41:21
#5548: Boost interprocess shared memory mutex requires root permissions on Linux
-------------------------------+--------------------------------------------
Reporter: habdank@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.45.0 | Severity: Problem
Keywords: |
-------------------------------+--------------------------------------------
Programs that uses shared memory, especially shared memory mutex on Linux
are working only when super-user permissions are granted.
POSIX does not require that, so that is a bug in BOOST IPC implementation
to require SU permissions.
Workaround is to create a group that will have a high access rights to
/dev/shm and then add all users that may use application to that group,
but that is not solving all problems.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5548> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC