[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

Jason R. Coombs report at bugs.python.org
Sun Jan 17 01:01:11 CET 2010


Jason R. Coombs <jaraco at jaraco.com> added the comment:

I haven't seen this error. My first guess is its a regression due to  
win 7 or updates to the python code. I'll look into it.

Sent from my comm

On Jan 16, 2010, at 17:47, "Eric Smith" <report at bugs.python.org> wrote:

>
> 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>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1578269>
_______________________________________


More information about the Python-bugs-list mailing list