[ python-Bugs-851123 ] shutil.copy destroys hard links
SourceForge.net
noreply at sourceforge.net
Sat Nov 29 07:36:35 EST 2003
Bugs item #851123, was opened at 2003-11-29 13:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=851123&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerald Schlueter (gls62)
Assigned to: Nobody/Anonymous (nobody)
Summary: shutil.copy destroys hard links
Initial Comment:
Hi,
I am using python2.3 on a debian linux (unstable) kernel
Version 2.4.20.
shell:
cd /tmp
cp /etc/passwd a
ln a b
cp a b
*** a and b are the same file ***
python
import shutil
shutil.copy("a", "b")
The file is destroyed and cut down to 0 Bytes!
Thank you,
Gerry (gls62)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=851123&group_id=5470
More information about the Python-bugs-list
mailing list