I am on rsync version 3.2.7 protocol version 31, currently on an Arch Linux.

The following seems I would expect to copy the contents of 'a' to 'c', based on my understanding of the the advice of `man rsync`:
-----
mkdir a b c
touch a/hello
rsync -M--fake-super -a a/ b/
rsync --super -M--fake-super -a b/ c/
-----

Instead I see 'c' unchanged, and a garbage directory created with the expected contents in the local directory:
---
~/tmp $ ls
''$'\001'   a   b   c
~/tmp $ ls -la *
''$'\001':
total 8
drwxr-xr-x 2 zachary users 4096 Jul 15 02:10 .
drwxr-xr-x 6 zachary users 4096 Jul 15 02:10 ..
-rw-r--r-- 1 zachary users    0 Jul 15 02:10 hello

a:
total 8
drwxr-xr-x 2 zachary users 4096 Jul 15 02:10 .
drwxr-xr-x 6 zachary users 4096 Jul 15 02:10 ..
-rw-r--r-- 1 zachary users    0 Jul 15 02:10 hello

b:
total 8
drwxr-xr-x 2 zachary users 4096 Jul 15 02:10 .
drwxr-xr-x 6 zachary users 4096 Jul 15 02:10 ..

c:
total 8
drwxr-xr-x 2 zachary users 4096 Jul 15 02:10 .
drwxr-xr-x 6 zachary users 4096 Jul 15 02:10 ..
---

I'm running into this as a blocking problem restoring a backup previously made with -M--fake-super. Note, this always writes the garbage directory into the current directory, even if it is on a different filesystem than the source, destination, and (/tmp or -T).

I'm on a live USB trying to restore my root disk. Please advise, thanks!

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to