Boost C++ Libraries: Ticket #3304: Boost::interprocess message queues don't work if two processes are running as different users. https://svn.boost.org/trac10/ticket/3304 <p> 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 <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1080" title="#1080: Bugs: boost::interprocess win32 global file mapping issue (closed: fixed)">#1080</a>). This makes the message queue unusable for a fairly typical use case. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3304 Trac 1.4.3 Ion Gaztañaga Thu, 26 Aug 2010 11:15:03 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/3304#comment:1 https://svn.boost.org/trac10/ticket/3304#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost-1.45.0</span> </li> </ul> <p> New permission scheme and common temporary dir added added for Boost 1.45 in release branch </p> Ticket