[issue13033] Add shutil.chowntree

Марк Коренберг report at bugs.python.org
Sun Dec 13 12:36:20 EST 2015


Марк Коренберг added the comment:

Instead, it may be desirable to implement wrapper over ow.walk() that apply given function to every member.

i.e.:

recursive_apply('/some/dir', lambda x: os.chown(x, 42, 42))

----------
nosy: +mmarkk

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13033>
_______________________________________


More information about the Python-bugs-list mailing list