Skip to content

chown

Source

Hook for changing the ownership of a file with shutil.

Inputs

Name Type Default Required Description
path Union[str, list] True String or list of paths, either directories or files.
user str True The user to assign ownership.
group str True The group to assign ownership.

Arguments

Position Argument Type
1 path Union[str, list]
2 user str
3 group str

Returns

NoneType