add cmap for writing files with sudo