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 Robin Roth
Recipients Robin Roth, drawks, loewis, pablo.sole, pitrou, rossburton
Date 2015-10-01.08:00:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443686430.81.0.428811489511.issue2466@psf.upfronthosting.co.za>
In-reply-to
Content
This bug is still present and annoying.
For me it appeared when running ismount on a nfs-mounted directory, when the user who runs python has no read permission inside the directory. Therefore the lstat on /mntdir/.. fails.
Attached a patch that fixes this by running abspath on the path.

Symlinks will also work because they are checked/excluded before the part of the code where the patch is in.

msg222528 is not related to the original bug and should be opened separately.
History
Date User Action Args
2015-10-01 08:00:30Robin Rothsetrecipients: + Robin Roth, loewis, pitrou, rossburton, drawks, pablo.sole
2015-10-01 08:00:30Robin Rothsetmessageid: <1443686430.81.0.428811489511.issue2466@psf.upfronthosting.co.za>
2015-10-01 08:00:30Robin Rothlinkissue2466 messages
2015-10-01 08:00:30Robin Rothcreate