Boost logo

Boost Users :

Subject: Re: [Boost-users] ipc message_queue getting permission denied
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-09-29 18:00:14


El 29/09/2011 23:19, Matt Fair escribió:
> I tried:
> m_messageQueue = boost::shared_ptr<boost::interprocess::message_queue>(
> new boost::interprocess::message_queue (
> boost::interprocess::open_or_create
> ,name.c_str() //name
> ,numElements //max message number
> ,sizeof(Message) //max message size
> ,boost::interprocess::permissions(777)
> ));
>
> And got the same results as before with Permission denied. Am I doing
> something wrong?

Maybe it's a bug, can you check if /tmp/boost_interprocess has enough
permissions to create a file? We can try to erase it and see if the
library is creating it with wrong permissions.

Best,

Ion


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net