When I run ipcs -m
, I can see a list of the shared memory segments on the system, like
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 0 user1 664 342110 0
0x00000000 32769 user1 664 28391740 5
0x00000000 65538 user1 664 1929302 4
How can I change the owner of a shared memory segment?