Barry A. Warsaw added the comment:

The os.chmod() will fail if path is a symlink.  At the very least it must be 
guarded by a `not os.path.islink()` call like above it.  I'll add this check to 
3.4 and 3.5.

----------
nosy: +barry

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18807>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to