/dev/shm check to writeable