Subject: [Boost-bugs] [Boost C++ Libraries] #3304: Boost::interprocess message queues don't work if two processes are running as different users.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-30 14:30:06
#3304: Boost::interprocess message queues don't work if two processes are running
as different users.
--------------------------------------+-------------------------------------
Reporter: scott_yoder@⦠| Owner: igaztanaga
Type: Feature Requests | Status: new
Milestone: Boost 1.40.0 | Component: interprocess
Version: Boost 1.39.0 | Severity: Problem
Keywords: |
--------------------------------------+-------------------------------------
message_queue is using the TMP environment variable to determine where to
put the file that implements a shared memory object (on Windows and Mac OS
X). The TMP environment variable gives different paths for different
users under Windows and Mac OS X. Also, there are permission problems
that wont allow a queue created by a windows service (or daemon on Mac) to
be read from / written to by a user mode process (see ticket #1080). This
makes the message queue unusable for a fairly typical use case.
Suggested fix: create a new message_queue constructor that takes as
parameters a file path to be used as a shared memory object and what kind
of permissions this file should have.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3304> 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:00 UTC