fix /run/zm creation and ownership of /tmp/zm, etc