fixed UID, GID in NewAttributes