[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-29 Thread zhaoqifa
zhaoqifa added the comment: Sorry for replying so late. "1) Will the above change have any security implications." ---It does not seem to me either. "2) On Ubuntu, I am unable to setup a directory based (ACL'ed) anonymous ftp server. The option is either anonymous from ftp

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-17 Thread zhaoqifa
zhaoqifa added the comment: I had run test by python ./urllib.py -t, test steps for accessing /etc/passwd, file:/etc/passwd, file://localhost/etc/passwd passed, steps for ftp://ftp.gnu.org/pub/README not tested because my work env is not free for internet accessing. And, I have not tried

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-12 Thread zhaoqifa
Changes by zhaoqifa : -- components: +Library (Lib) ___ Python tracker <http://bugs.python.org/issue17967> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17967] urllib2.open failed to access a url when a perent directory of the url is permission denied

2013-05-12 Thread zhaoqifa
New submission from zhaoqifa: urllib2.open failed to access a url when a perent directory of the url is permission denied. I had a file in a ftp, the address is like ftp://host/home/work/123.txt which can be access by wget. When I urllib2.open to access the file, it always tell me that