[New-bugs-announce] [issue13775] Access Denied message on symlink creation misleading for an existing file/directory target.

Santoso Wijaya report at bugs.python.org
Thu Jan 12 02:06:48 CET 2012


New submission from Santoso Wijaya <santoso.wijaya at gmail.com>:

Consider:

>>> os.symlink('.\\test', 'Lib\\bar')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
WindowsError: [Error 5] Access is denied: '.\\test'

Where Lib\\bar is previously created. The symlink creation is rightly rejected, but with a misleading message. The failure is because 'Lib\\bar' already exists, not because of '.\\test'.

----------
components: Windows
messages: 151101
nosy: santa4nt
priority: normal
severity: normal
status: open
title: Access Denied message on symlink creation misleading for an existing file/directory target.
type: behavior
versions: Python 3.2, Python 3.3

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


More information about the New-bugs-announce mailing list