bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in rsnapshot 1.2.1 due to change in /bin/cp 5.93


From: David Cantrell
Subject: Re: bug in rsnapshot 1.2.1 due to change in /bin/cp 5.93
Date: Fri, 7 Apr 2006 14:40:14 +0100
User-agent: Mutt/1.3.28i

On Fri, Apr 07, 2006 at 02:22:15AM +0000, Eric Blake wrote:

> Thanks for the bug report.  However, this issue has already come up in
> the past:
> 
> http://lists.gnu.org/archive/html/bug-coreutils/2006-02/msg00069.html
> http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00285.html
> 
> The consensus seemed to be that POSIX is ambiguous on what is
> required ...
> 
> All I can recommend now is that rsnapshot be patched to avoid
> this portability trap of cp, since other platforms (such as Solaris
> or BSD) have different rename semantics in this corner case.

We use GNU cp because of the -l option, but that's not available in
other peoples versions of cp, so we also have our own clone of that
functionality.  Our version is somewhat slower, but is portable.  The
next version to be released will still support use of GNU cp (and will
also have a patch to fix the trailing slash issue) but will state
clearly that use of GNU cp is deprecated.

If I get the time, I'll make it so you can use cpio instead, which has
similar functionality but is more portable.

-- 
David Cantrell | top google result for "internet beard fetish club"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]