Python multiprocessing: Permission denied

t0ster tosters at gmail.com
Fri Jan 8 22:56:48 EST 2010


On Jan 6, 1:20 am, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:
> On Tue, 05 Jan 2010 13:52:18 -0800,t0sterwrote:
> > It looks like the user don't have permission to access shared memory.
> > When executing with root privileges it works fine.
>
> > Is there any solution to run it as normal user(not root)?
>
> Then give the user permission to access shared memory.
>
> Why do you expect that Python would be able to over-ride the operating
> system's security? This problem is no different from saying "It looks
> like the user doesn't have permission to access this file".
>
> --
> Steven

Yes, your are right.
The problem was solved by chmoding /dev/shm



More information about the Python-list mailing list