[Python-Dev] Extending os.chown() to accept user/group names (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Wed Jun 1 08:48:04 CEST 2011


Le mercredi 25 mai 2011 à 18:46 +0200, Charles-François Natali a écrit :

While we're at it, adding a "recursive" argument to this shutil.chown could also be useful. I don't like the idea of a recursive flag.

I think shutil.chown should aim to mimic chown(1). At least GNU chown has a -R flag (not sure about POSIX chown), and it's useful in practice.

Regards, Martin



More information about the Python-Dev mailing list