Fix permissions on /dev/shm