rsync-deployments icon indicating copy to clipboard operation
rsync-deployments copied to clipboard

rsync: mkdir "/var/www/html" failed

Open lixd opened this issue 3 years ago • 1 comments

logs

Identity added: (stdin) ((stdin))
Warning: Permanently added '***' (ECDSA) to the list of known hosts.
sending incremental file list
rsync: mkdir "/var/www/html" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at main.c(657) [Receiver=3.1.2]

rsync cannot create dir recursion. like mkdir -p. so, maybe we can create dir before rsync.

lixd avatar Jun 11 '22 11:06 lixd

Thank you very much for your report and the proposal. I will have to check if rsync can handle non-existing nested dirs or if infact mkdir should be used.

Greetings Steve

Burnett01 avatar Jun 14 '22 19:06 Burnett01