DO NOT REPLY [Bug 6422] New: rsync needlessly aborts when getcwd()
fails
samba-bugs at samba.org
samba-bugs at samba.org
Sat May 30 19:02:09 GMT 2009
https://bugzilla.samba.org/show_bug.cgi?id=6422
Summary: rsync needlessly aborts when getcwd() fails
Product: rsync
Version: 3.0.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: vapier at gentoo.org
QAContact: rsync-qa at samba.org
rsync will abort if getcwd() fails even though the current working directory is
irrelevant to the request in question
for example, this should not fail:
cd ~/
mkdir -p src dst foo/a/b/c
touch src/a
cd foo/a/b/c
rm -rf ~/foo
rsync -a ~/src/ ~/dst/
that rsync command errors out with:
rsync: getcwd(): No such file or directory (2)
rsync error: errors selecting input/output files, dirs (code 3) at util.c(992)
[receiver=3.0.6]
and looking in ~/dst/, i see no files have been transferred
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list