Re: rsync versioning problem

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



On Aug 3, 2018, at 10:17 AM, Warren Young <warren@xxxxxxxxxxx> wrote:
> 
> It’s possible this behavior changed since I last looked at it.

It looks like the rsync version shipping with CentOS 7 will actually complain if multiple target directory levels are missing.  With only ~/tmp existing on the target machine, this command:

    $ rsync -a path/to/stuff remote-host:tmp/foo/bar

gives:

    rsync: mkdir "/home/USER/tmp/foo/bar" failed: No such file or directory (2)
    rsync error: error in file IO (code 11) at main.c(657) [Receiver=3.1.2]

I recall a confusing, softer failure mode, so perhaps they decided this would be better handled with a hard failure to avoid some end user confusion.  (And probably some support email traffic!)

The trailing slash on the source path affects the remote result once you get past this issue, but adding a slash doesn’t prevent the error in this condition.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux