add write/sticky perms to shared memory