View Issue Details

IDProjectCategoryView StatusLast Update
0005119CentOS-5coreutilspublic2011-09-17 21:48
Reporterdbr 
PrioritynormalSeveritycrashReproducibilityalways
Status acknowledgedResolutionopen 
Platformx86_64OSOS Version5.7
Product Version 
Target VersionFixed in Version 
Summary0005119: cp: Dosn't make a backup if the last component of the source name is "."
Descriptioncp doesn't make backup if last component of the source name is ".".

That seems to be a known bug that wasn't fix in CentOS 5.7. coreutils from CentOS 5.6 were okay.
Steps To Reproduce

CentOS 5.7 (buggy)
-------------------

[root@centos57 ~]# cat /etc/redhat-release
CentOS release 5.7 (Final)
[root@centos57 ~]# rpm -qa | grep ^coreutils
coreutils-5.97-34.el5
[root@centos57 ~]# mkdir x y
[root@centos57 ~]# cd y
[root@centos57 y]# cp -ab ../x/. .
cp: cannot backup `./.': Device or resource busy

CentOS 5.6 (okay)
-----------------

[root@centos56 ~]# cat /etc/redhat-release
CentOS release 5.6 (Final)
[root@centos56 ~]# rpm -qa | grep ^coreutils
coreutils-5.97-23.el5_6.el54
[root@centos56 ~]# mkdir x y
[root@centos56 ~]# cd y
[root@centos56 y]# cp -ab ../x/. .
TagsNo tags attached.

Activities

dbr

dbr

2011-09-17 13:10

reporter   ~0013293

Might be related to
http://www.mail-archive.com/bug-coreutils@gnu.org/msg07615.html
range

range

2011-09-17 20:56

administrator   ~0013297

This needs to be addressed upstream (and yes, they don't frown upon bug reports from CentOS users).

A quick search doesn't reveal any report of this at https://bugzilla.redhat.com/
tru

tru

2011-09-17 21:48

administrator   ~0013298

ack'ed: registered upstream at https://bugzilla.redhat.com/show_bug.cgi?id=739344

Issue History

Date Modified Username Field Change
2011-09-17 13:09 dbr New Issue
2011-09-17 13:10 dbr Note Added: 0013293
2011-09-17 20:56 range Note Added: 0013297
2011-09-17 21:48 tru Note Added: 0013298
2011-09-17 21:48 tru Status new => acknowledged