replace username/groupname with uig/gid.