View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005119 | CentOS-5 | coreutils | public | 2011-09-17 13:09 | 2011-09-17 21:48 |
Reporter | dbr | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Platform | x86_64 | OS Version | 5.7 | ||
Summary | 0005119: cp: Dosn't make a backup if the last component of the source name is "." | ||||
Description | cp 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/. . | ||||
Tags | No tags attached. | ||||
Might be related to http://www.mail-archive.com/bug-coreutils@gnu.org/msg07615.html |
|
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/ |
|
ack'ed: registered upstream at https://bugzilla.redhat.com/show_bug.cgi?id=739344 | |