search for: rsync_bug

Displaying 1 result from an estimated 1 matches for "rsync_bug".

2018 Aug 03
0
BUG: --link-dest may follow symlinks and failure to hard link a non-regular file is fatal
...ck to copy, which might be unwanted (e.g. going over nfs). For non-regular files, rsync will create the destination file, but report an error and exit with a non-zero exit status. This is a program to demonstrate the bug (requires root for the mount): #! /bin/sh set -x if [ -d /tmp/rsync_bug ]; then umount /tmp/rsync_bug/mnt rm -rf /tmp/rsync_bug fi mkdir /tmp/rsync_bug cd /tmp/rsync_bug mkdir mnt mount -t tmpfs tmpfs mnt ln -s BLABLA mnt/test mkdir src ln -s /tmp/rsync_bug/mnt src/dir rsync -aHx --delete --numeric-ids src...