views:

94

answers:

1

Is there any way to change the ownership and permission mask for a semaphore on Unix systems directly from the command prompt, without deploying a special program that calls semctl with the IPC_SET option?

+1  A: 

I don't know of any standard utility, but the program listed here can change semaphore modes.

Extending that to also allow changes of ownership should be a pretty trivial exercise.

Alnitak