shutil.chown(path, user=None, group=None)
Change owner user and/or group of the given path.
user can be a system user name or a uid; the same applies to group. At least one argument is required.
See also os.chown()
, the underlying function.
Availability: Unix.
New in version 3.3.
Please login to continue.