[New-bugs-announce] [issue34583] os.stat() wrongfully returns False for symlink on Windows 10 v1803

Isaac Shabtay report at bugs.python.org
Tue Sep 4 18:09:14 EDT 2018


New submission from Isaac Shabtay <isaac at shabtay.com>:

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).

----------
components: Library (Lib)
messages: 324605
nosy: Isaac Shabtay
priority: normal
severity: normal
status: open
title: os.stat() wrongfully returns False for symlink on Windows 10 v1803
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34583>
_______________________________________


More information about the New-bugs-announce mailing list