Is there a way to change the ownership and permissions for a semaphore on Unix systems directly from the command line without deploying a special program that calls semctl with an option IPC_SET ?
semctl
IPC_SET
I don't know of any standard utility, but the program mentioned in here can change semaphore modes.
Extending what also allows property rights to be changed should be a pretty trivial exercise.