Boost logo

Boost Users :

Subject: Re: [Boost-users] ipc message_queue getting permission denied
From: Matt Fair (matt.fair_at_[hidden])
Date: 2011-09-29 17:19:11

I tried:
      m_messageQueue = boost::shared_ptr<boost::interprocess::message_queue>(
           new boost::interprocess::message_queue (
             ,name.c_str() //name
             ,numElements //max message number
             ,sizeof(Message) //max message size

And got the same results as before with Permission denied. Am I doing
something wrong?


2011/9/29 Ion Gaztañaga <igaztanaga_at_[hidden]>:
> El 29/09/2011 18:07, Matt Fair escribió:
>> Hello,
>> I ran across this problem when I moved my code to another system.  Not
>> sure if this is the right list to post this, but I've been having
>> trouble debugging this as all of my attempts have lead me to dead
>> ends.
> The container is built with default permissions (0644 in unix), you'd need
> provide you own permissions in message queue constructor instead of the
> default permissions() parameter.
> Best,
> Ion
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at