[issue13033] Add shutil.chowntree

2021-08-27 Thread sedrubal
Change by sedrubal : -- nosy: +sedrubal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[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 allow

[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-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-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 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 are those of the

[issue13033] Add shutil.chowntree

2012-01-06 Thread Éric Araujo
Éric Araujo 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 think the note direct

[issue13033] Add shutil.chowntree

2011-12-25 Thread Tigger Level-5
Tigger Level-5 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 wrote: > > Éric Araujo added the comment: > > Tigger: Could you provide a patch fo

[issue13033] Add shutil.chowntree

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

[issue13033] Add shutil.chowntree

2011-11-05 Thread Éric Araujo
Éric Araujo added the comment: See also #13229. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue13033] Add shutil.chowntree

2011-10-27 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13033] Add shutil.chowntree

2011-09-24 Thread Tigger Level-5
Tigger Level-5 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 ___ Python tracker

[issue13033] Add shutil.chowntree

2011-09-23 Thread Éric Araujo
Éric Araujo 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 _