samba-bugs at samba.org
2016-Jan-13 18:23 UTC
[Bug 11671] New: --files-from= with nonexistant files and --delete-missing-args complains about vanished source files
https://bugzilla.samba.org/show_bug.cgi?id=11671 Bug ID: 11671 Summary: --files-from= with nonexistant files and --delete-missing-args complains about vanished source files Product: rsync Version: 3.1.1 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter: vegard.nossum at gmail.com QA Contact: rsync-qa at samba.org Problem: rsync seems to indicate that files have disappeared during the transfer when this is not the case. Steps to reproduce: 1. Create files.txt with "foo/bar". (Make sure "foo/" doesn't exist.) 2. Run: rsync --delete-missing-args -v --files-from=files.txt . remote-host: Output: building file list ... file has vanished: "/home/vegard/foo" done default_perms_for_dir: sys_acl_get_file(foo, ACL_TYPE_DEFAULT): No such file or directory, falling back on umask sent 30 bytes received 129 bytes 45.43 bytes/sec total size is 0 speedup is 0.00 rsync warning: some files vanished before they could be transferred (code 24) at main.c(1183) [sender=3.1.0] Expected behaviour: With --delete-missing-args I would expect nonexistant files (and files in nonexistant directories) to be deleted on the remote host without any warnings or error codes. Workaround: Check for exit code 24 and ignore it. (But this has the drawback of potentially ignoring warnings about files which really did disappear after rsync had been started.) -- You are receiving this mail because: You are the QA Contact for the bug.
Apparently Analagous Threads
- Rsync stops in the middle of a large transfer
- Strange behavior after upgrading to rsync 3.2.3
- [Bug 11545] New: -A (preserve ACLs) with --link-dest=DIR fails when DIR has a directory with the same file's name
- [PATCH -next] drm/nouveau: uapi: fix kerneldoc warnings
- kernel memory access tracer