Hi I have 2 processes P1 and P2. P1 is running as root, and is creating a semaphore with the following call:
semget (key, 1, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH | IPC_CREAT);
and am trying to get the handle to the same semaphore in another process P2, which is running under the normal user's context. In this process, the semget call succeeds, but semop calls fail with "Permission Denied" (Errno = 13).
Any pointers would be of great help.
~ps7