[Python-ideas] Add shutil.chown(..., recursive=False)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 29 19:06:10 EDT 2018


Steven D'Aprano wrote:
> Look closely at my example: the file ownership 
> recursively changed from steve.steve to steve.users.

You're quite right. I hadn't realised that chown can be
used to change the group as well as the user. It's permitted
to change the group to one that the user is a member of.

-- 
Greg



More information about the Python-ideas mailing list