eryksun added the comment:
> This looks as a duplicate of issue2528.
No, yangyanbo's problem is unrelated to the file's security descriptor, and
it's not a bug.
telnet.exe is manually installed via "Programs and Features", which only
installs a 64-bit version into System32 (despite the 32 in its name, this
directory has native 64-bit executables). But yangyanbo is running 32-bit
Python, so accessing "System32" gets redirected to SysWOW64 (despite the 64 in
its name, this directory has 32-bit executables that run in the "Windows 32-bit
on Windows 64-bit" system).
>From a 32-bit app the real System32 directory is available as "SysNative",
>e.g.:
os.access(r'C:\Windows\SysNative\telnet.exe', os.X_OK)
----------
nosy: +eryksun
resolution: duplicate -> not a bug
superseder: Change os.access to check ACLs under Windows ->
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25189>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com