Mailing List Archive

[issue13734] Add a generic directory walker method to avoid symlink attacks
Benjamin Peterson <benjamin@python.org> added the comment:

It would be nice if the documentation of fwalk() explained why you would want to use it over walk().

----------
nosy: +benjamin.peterson

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13734>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13734] Add a generic directory walker method to avoid symlink attacks [ In reply to ]
Charles-François Natali <neologix@free.fr> added the comment:

> It would be nice if the documentation of fwalk() explained why you would
> want to use it over walk().

How does the attached patch look?

----------
Added file: http://bugs.python.org/file25550/fwalk-doc.diff

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13734>
_______________________________________
[issue13734] Add a generic directory walker method to avoid symlink attacks [ In reply to ]
Benjamin Peterson <benjamin@python.org> added the comment:

2012/5/12 Charles-François Natali <report@bugs.python.org>:
>
> Charles-François Natali <neologix@free.fr> added the comment:
>
>> It would be nice if the documentation of fwalk() explained why you would
>> want to use it over walk().
>
> How does the attached patch look?

Okay, but explain what a "symlink attack" is.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13734>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com