[issue2466] os.path.ismount doesn't work for mounts the user doesn't have permission to see

Antoine Pitrou report at bugs.python.org
Thu Aug 14 16:00:04 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

> If ismount() used os.path.dirname() instead of appending "..", then this
> wouldn't happen.

But it may change the function result if the argument is a symlink to
something (directory or mount point) on another filesystem. It should be
verified before making a decision.

----------
nosy: +pitrou
priority:  -> normal
versions: +Python 2.6, Python 3.0 -Python 2.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2466>
_______________________________________


More information about the Python-bugs-list mailing list