Path.
chown
Change the owner and group by names rather than the uid or gid numbers.
See also
os.chown()