fix uid/gid mapping for autocreated folders