https://bugzilla.samba.org/show_bug.cgi?id=11572
Bug ID: 11572 Summary: rsync --debug doesn't work, and gives erroneous results when taken out Product: rsync Version: 3.1.2 Hardware: x64 OS: Linux Status: NEW Severity: major Priority: P5 Component: core Assignee: way...@samba.org Reporter: lutz.j...@yahoo.com QA Contact: rsync...@samba.org --debug doesn't work, while not using debug half works. 'half works' is such a way that there will be empty directories of improper file directory attributes. rsync -rav 2015 delete_me/ sending incremental file list created directory delete_me 2015/ 2015/reset.sh 2015/activism/ .... this is the result destination directory of the rsync: ls -altr delete_me/2015 total 124 -rwxr--r--. 1 john john 508 Mar 22 2015 reset.sh drwxrwxr-x. 30 john john 4096 Oct 18 05:59 . drwx------. 2 john john 4096 Oct 24 12:45 dev drwx------. 2 john john 4096 Oct 24 12:45 computer drwx------. 2 john john 4096 Oct 24 12:45 chess drwx------. 2 john john 4096 Oct 24 12:45 c64 drwx------. 2 john john 4096 Oct 24 12:45 business drwx------. 2 john john 4096 Oct 24 12:45 artwork drwx------. 2 john john 4096 Oct 24 12:45 animals drwxrwxr-x. 3 john john 4096 Oct 24 12:45 .. drwx------. 2 john john 4096 Oct 24 12:45 vr drwx------. 2 john john 4096 Oct 24 12:45 tech drwx------. 2 john john 4096 Oct 24 12:45 spirit drwx------. 2 john john 4096 Oct 24 12:45 science drwx------. 2 john john 4096 Oct 24 12:45 receipt drwx------. 2 john john 4096 Oct 24 12:45 reallife drwx------. 2 john john 4096 Oct 24 12:45 new_linux drwx------. 2 john john 4096 Oct 24 12:45 nature drwx------. 2 john john 4096 Oct 24 12:45 musician drwx------. 2 john john 4096 Oct 24 12:45 music drwx------. 2 john john 4096 Oct 24 12:45 memory drwx------. 2 john john 4096 Oct 24 12:45 mathematics drwx------. 2 john john 4096 Oct 24 12:45 jobs drwx------. 2 john john 4096 Oct 24 12:45 homeschoo drwx------. 2 john john 4096 Oct 24 12:45 health drwx------. 2 john john 4096 Oct 24 12:45 game drwx------. 2 john john 4096 Oct 24 12:45 fun drwx------. 2 john john 4096 Oct 24 12:45 food drwx------. 2 john john 4096 Oct 24 12:45 export drwxr-xr-x. 21 john john 4096 Oct 24 12:45 ai drwxr-xr-x. 13 john john 4096 Oct 24 12:45 activism the original source directory is here: ls -altr 2015 total 208 -rwxr--r--. 1 john john 508 Mar 22 2015 reset.sh drwxr-xr-x. 2 john john 4096 Jun 9 11:46 vr drwxr-xr-x. 3 john john 4096 Jul 30 08:16 tech drwxr-xr-x. 2 john john 4096 Aug 12 10:17 nature drwxrwxr-x. 2 john john 4096 Aug 12 17:13 export drwxr-xr-x. 7 john john 4096 Aug 12 18:42 mathematics drwxr-xr-x. 40 john john 4096 Sep 13 01:00 c64 drwxr-xr-x. 2 john john 4096 Sep 18 17:29 music drwxr-xr-x. 11 john john 4096 Sep 19 00:17 homeschoo drwxr-xr-x. 6 john john 4096 Sep 19 05:06 chess drwxr-xr-x. 3 john john 4096 Sep 21 09:30 jobs drwxr-xr-x. 4 john john 4096 Sep 24 04:27 business drwxr-xr-x. 21 john john 4096 Sep 26 09:53 ai drwxr-xr-x. 19 john john 4096 Sep 30 12:49 musician drwxr-xr-x. 34 john john 4096 Oct 8 13:40 game drwxr-xr-x. 56 john john 4096 Oct 9 12:13 dev drwxr-xr-x. 2 john john 4096 Oct 10 11:52 artwork drwxr-xr-x. 14 john john 4096 Oct 14 20:59 spirit drwxr-xr-x. 2 john john 4096 Oct 17 12:57 animals drwxrwxr-x. 30 john john 4096 Oct 18 05:59 . drwxr-xr-x. 4 john john 4096 Oct 22 11:05 fun drwxr-xr-x. 49 john john 12288 Oct 22 11:07 memory drwxr-xr-x. 45 john john 12288 Oct 22 11:20 computer drwxr-xr-x. 45 john john 12288 Oct 22 11:31 receipt drwxr-xr-x. 5 john john 4096 Oct 22 11:31 new_linux drwxr-xr-x. 108 john john 36864 Oct 22 11:32 health drwxr-xr-x. 15 john john 4096 Oct 23 20:16 reallife drwxr-xr-x. 28 john john 16384 Oct 23 20:52 science drwxr-xr-x. 13 john john 20480 Oct 23 20:59 activism drwxr-xr-x. 20 john john 4096 Oct 24 12:41 food drwxr-xr-x. 7 john john 4096 Oct 24 12:45 .. ------------------------------------------------- // // debug on // // /////////////////////////////////////////////////// [john@johnsplace Downloads]$ rsync -rav --debug 2015 delete_me/ FILE_STRUCT_LEN=24, EXTRA_LEN=4 cmd=<NULL> machine=<NULL> user=<NULL> path=. cmd[0]=. cmd[1]=. msg checking charset: UTF-8 [sender] safe_read(5)=4 (Client) Protocol versions: remote=31, negotiated=31 [Receiver] safe_read(0)=4 (Server) Protocol versions: remote=31, negotiated=31 [sender] safe_read(5)=1 [sender] safe_read(5)=4 sending incremental file list rsync: change_dir "/home/john/Downloads//delete_me" failed: No such file or directory (2) [sender] change_dir(/home/john/Downloads) [sender] flist start=1, used=0, low=0, high=-1 send_file_list done [sender] flist_eof=1 file list sent send_files starting server_recv(2) starting pid=10804 received 0 names [Receiver] flist start=1, used=0, low=0, high=-1 recv_file_list done get_local_name count=0 . generator starting pid=10804 delta-transmission disabled for local transfer or --whole-file recv_files(0) starting [receiver] flist_eof=1 [generator] flist_eof=1 generate_files phase=1 send_files phase=1 recv_files phase=1 generate_files phase=2 send_files phase=2 send files finished total: matches=0 hash_hits=0 false_alarms=0 data=0 recv_files phase=2 recv_files finished generate_files phase=3 [receiver] send_msg(10, 8) generate_files finished client_run waiting on 10804 sent 20 bytes received 436 bytes 912.00 bytes/sec total size is 0 speedup is 0.00 [sender] _exit_cleanup(code=23, file=main.c, line=1165): entered rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.1] [sender] _exit_cleanup(code=23, file=main.c, line=1165): about to call exit(23) -- You are receiving this mail because: You are the QA Contact for the bug. -- 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