[issue13033] Add shutil.chowntree

2021-08-27 Thread sedrubal
Change by sedrubal : -- nosy: +sedrubal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13033] Add shutil.chowntree

2015-12-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag stage: -> patch review versions: +Python 3.6 -Python 3.3 ___ Python tracker

[issue13033] Add shutil.chowntree

2015-12-13 Thread Марк Коренберг
Марк Коренберг added the comment: note, that there are many other usecases for that function, like chattr, chmod g+w, touch and so on. But I'm personally consider this will bloat python library, since everyone can write it's own cycle over os.walk() in his program. Also, chown itself is

[issue13033] Add shutil.chowntree

2015-12-13 Thread Марк Коренберг
Марк Коренберг 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

[issue13033] Add shutil.chowntree

2015-12-04 Thread YoSTEALTH
YoSTEALTH added the comment: Can this chowntree() function proposed here be implemented? It would have saved me a bunch of time and its a good feature to have. -- nosy: +YoSTEALTH, r.david.murray ___ Python tracker

[issue13033] Add shutil.chowntree

2012-01-07 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: I believe the current check_chown could be passed by a no-op (since the file will be owned by the current user even *before* the call to chowntree). Testing this properly is actually rather difficult (since the only uid and gid we can rely on

[issue13033] Add shutil.chowntree

2012-01-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for the patch. Before you do any more work, do other core developers agree that this function is a good addition or is it obsoleted by the generic improved-walk-with-callback that Nick is working on? Doc/library/shutil.rst: I don’t

[issue13033] Add shutil.chowntree

2011-12-25 Thread Tigger Level-5
Tigger Level-5 a.wild.tig...@gmail.com added the comment: Hi Éric, Apologies for the late response, attached is the patch. Let me know if I need any changes or anything else. Best, Tigger On Sat, Nov 5, 2011 at 11:01 AM, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo

[issue13033] Add shutil.chowntree

2011-11-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also #13229. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13033 ___ ___ Python-bugs-list

[issue13033] Add shutil.chowntree

2011-11-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Tigger: Could you provide a patch for Python 3.3? (more info at http://docs.python.org/devguide/) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13033

[issue13033] Add shutil.chowntree

2011-10-27 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13033 ___ ___ Python-bugs-list

[issue13033] Add shutil.chowntree

2011-09-24 Thread Tigger Level-5
Tigger Level-5 a.wild.tig...@gmail.com added the comment: First time posting, how about something like this. Just added a os.walk method to do the chown recursively. -- nosy: +Tigger.Level-5 Added file: http://bugs.python.org/file23240/temp.py ___

[issue13033] Add shutil.chowntree

2011-09-23 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Following Nick’s opinion in the thread, I’d prefer a distinct function. -- title: Support recursivity in shutil.chown - Add shutil.chowntree ___ Python tracker rep...@bugs.python.org