This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sijinjoseph
Recipients a_b, serhiy.storchaka, sijinjoseph
Date 2013-04-13.16:10:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365869407.73.0.338542274235.issue16812@psf.upfronthosting.co.za>
In-reply-to
Content
Behavior for symlink is as follows

>>> os.symlink('non-existent-name', 'existing-name')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
PermissionError: [WinError 5] Access is denied: 'non-existent-name'

The error message is misleading, but can be fixed using the patch attached to issue13775

>>> os.symlink('non-existent-name1', 'non-existent-name2')
No error. This behavior is same on Windows and Linux. Seems odd, but can be justified as ok behavior.
History
Date User Action Args
2013-04-13 16:10:07sijinjosephsetrecipients: + sijinjoseph, a_b, serhiy.storchaka
2013-04-13 16:10:07sijinjosephsetmessageid: <1365869407.73.0.338542274235.issue16812@psf.upfronthosting.co.za>
2013-04-13 16:10:07sijinjosephlinkissue16812 messages
2013-04-13 16:10:07sijinjosephcreate