[issue21876] os.rename(src, dst) does nothing when src and dst files are hard-linked
Aaron Swan
report at bugs.python.org
Fri Jun 27 19:54:35 CEST 2014
New submission from Aaron Swan:
On Linux Red Hat os.rename(src,dst) does nothing when src and dst files are hard-linked.
It seems like the expected behavior would be the removal of the src file. This would be in keeping with the documentation that states: "On Unix, if dst exists and is a file, it will be replaced silently if the user has permission. "
----------
messages: 221699
nosy: Aaron.Swan
priority: normal
severity: normal
status: open
title: os.rename(src,dst) does nothing when src and dst files are hard-linked
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21876>
_______________________________________
More information about the Python-bugs-list
mailing list