[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows
Eric Smith
report at bugs.python.org
Sat Jan 16 23:47:11 CET 2010
Eric Smith <eric at trueblade.com> added the comment:
I don't see where the patch is outdated.
I'm attaching an updated patch 18 that works cleanly against r77557. It also fixes an unterminated comment.
XP runs correctly (without the new functionality) with this patch. However, on Windows 7 as a normal user I get a permission issue:
Python 3.2a0 (py3k, Jan 16 2010, 17:26:22) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.symlink('python.exe', 'python-test.exe')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
WindowsError: [Error 1314] A required privilege is not held by the client: 'python.exe'
This is in a directory that I own, with a file that I own.
Jason: Is there something obvious that I'm missing? Or is some special (not out-of-the-box) permission really required?
----------
Added file: http://bugs.python.org/file15921/windows symlink draft 18.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1578269>
_______________________________________
More information about the Python-bugs-list
mailing list