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.

classification
Title: os.stat() wrongfully returns False for symlink on Windows 10 v1803
Type: Stage:
Components: Windows Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Isaac Shabtay, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2018-09-04 22:09 by Isaac Shabtay, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg324605 - (view) Author: Isaac Shabtay (Isaac Shabtay) Date: 2018-09-04 22:09
Windows 10 Pro, v1803.
Created a directory: D:\Test
Created a symbolic link to it: C:\Test -> D:\Test

The current user has permissions to access the link, however os.stat() fails:

>>> os.stat('C:\\Test')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
PermissionError: [WinError 5] Access is denied: 'C:\\Test'

The only change in my system since this has last worked, is that I upgraded to v1803 (used to be v1709 up until about a week ago).
History
Date User Action Args
2022-04-11 14:59:05adminsetgithub: 78764
2018-09-13 15:10:17ned.deilysetnosy: + paul.moore, tim.golden, zach.ware, steve.dower
components: + Windows, - Library (Lib)
2018-09-04 22:09:14Isaac Shabtaycreate