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 eryksun
Recipients eryksun, kwarzecha7, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2021-02-25.11:27:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614252436.36.0.0267178399447.issue26968@roundup.psfhosted.org>
In-reply-to
Content
Issue 28075 extended the os.stat() and os.lstat() implementation to query basic stat informatiom from the parent directory if opening the file fails with ERROR_ACCESS_DENIED. This change first became available in Python 3.5.3. 

Previously it was only querying the parent directory for the case of ERROR_SHARING_VIOLATION, which is unlikely since the open doesn't request and data access that requires sharing. It does handle one case that I know of. NTFS refuses to share even metadata access for a system paging file such as "C:\pagefile.sys".
History
Date User Action Args
2021-02-25 11:27:16eryksunsetrecipients: + eryksun, paul.moore, tim.golden, zach.ware, serhiy.storchaka, steve.dower, kwarzecha7
2021-02-25 11:27:16eryksunsetmessageid: <1614252436.36.0.0267178399447.issue26968@roundup.psfhosted.org>
2021-02-25 11:27:16eryksunlinkissue26968 messages
2021-02-25 11:27:16eryksuncreate