[issue2466] os.path.ismount doesn't work for NTFS mounts
Ross Burton
report at bugs.python.org
Sun Mar 23 23:46:09 CET 2008
Ross Burton <ross at burtonini.com> added the comment:
Aha. The contents of the mount point are only accessible by root:
$ stat /media/windows/..
stat: cannot stat `/media/windows/..': Permission denied
This falls into the except block, so false is returned.
If ismount() used os.path.dirname() instead of appending "..", then this
wouldn't happen.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2466>
__________________________________
More information about the Python-bugs-list
mailing list