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 rossburton
Recipients loewis, rossburton
Date 2008-03-23.22:46:05
SpamBayes Score 0.0
Marked as misclassified No
Message-id <1206312369.73.0.6420589167.issue2466@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-03-09 14:31:12georg.brandlsetspambayes_score: 0.69811 -> 0.0
2008-03-23 22:46:09rossburtonsetspambayes_score: 0.69811 -> 0.69811
recipients: + rossburton, loewis
2008-03-23 22:46:09rossburtonsetspambayes_score: 0.69811 -> 0.69811
messageid: <1206312369.73.0.6420589167.issue2466@psf.upfronthosting.co.za>
2008-03-23 22:46:05rossburtonlinkissue2466 messages
2008-03-23 22:46:05rossburtoncreate