GNU bug report logs - #8375
cp -a [-l] sometimes does not preserve timestamps of symlinks

Previous Next

Package: coreutils;

Reported by: Rüdiger Meier <sweet_f_a <at> gmx.de>

Date: Tue, 29 Mar 2011 16:31:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8375 in the body.
You can then email your comments to 8375 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8375; Package coreutils. (Tue, 29 Mar 2011 16:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rüdiger Meier <sweet_f_a <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 29 Mar 2011 16:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rüdiger Meier <sweet_f_a <at> gmx.de>
To: bug-coreutils <at> gnu.org
Subject: cp -a [-l] sometimes does not preserve timestamps of symlinks
Date: Tue, 29 Mar 2011 14:01:12 +0200
Hi,


I see you fixed that already for for cp -a
http://marc.info/?t=124897089600001&r=1&w=2

But it does not together with option -link:

cd /tmp/
ln -s somewhere symlink
touch -h -t "197001010000"  symlink
cp -a symlink symlink-a
cp -al symlink symlink-al
ls -l symlink*
lrwxrwxrwx 1 rudi users 9 1970-01-01 00:00 symlink -> somewhere
lrwxrwxrwx 1 rudi users 9 1970-01-01 00:00 symlink-a -> somewhere
lrwxrwxrwx 1 rudi users 9 2011-03-29 13:44 symlink-al -> somewhere


I'm using core utils coreutils 8.9 (opensuse 11.4).

BTW with coreutils 7.1 and 6.9 it behaves the other way, -al is correct 
but -a not.

So probably -al is broken since you fixed -a in 7.5.



cu,
Rudi  




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Thu, 31 Mar 2011 14:16:02 GMT) Full text and rfc822 format available.

Notification sent to Rüdiger Meier <sweet_f_a <at> gmx.de>:
bug acknowledged by developer. (Thu, 31 Mar 2011 14:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 8375-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: 8375-done <at> debbugs.gnu.org
Subject: Re: bug#8375: cp -a [-l] sometimes does not preserve timestamps of
	symlinks
Date: Thu, 31 Mar 2011 15:14:46 +0100
tags 8375 + notabug

closing this cloned bug




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 29 Apr 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.