Add conf_mount_rw calls on functions that changes user/groups. It fixes #3294