This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gregorio
Recipients Gregorio
Date 2015-05-03.17:52:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430675548.94.0.105476682455.issue24120@psf.upfronthosting.co.za>
In-reply-to
Content
Debian 8
Python 3.4.3

Path.(r)glob stops when it encounters a PermissionDenied exception.

However, os.walk just skips files/directories it does not have permission to access. 

In my opinion, the os.walk behavior is better because it doesn't prevent usage in situations where a single file/directory in a tree has restricted permissions.
History
Date User Action Args
2015-05-03 17:52:28Gregoriosetrecipients: + Gregorio
2015-05-03 17:52:28Gregoriosetmessageid: <1430675548.94.0.105476682455.issue24120@psf.upfronthosting.co.za>
2015-05-03 17:52:28Gregoriolinkissue24120 messages
2015-05-03 17:52:28Gregoriocreate