DO NOT REPLY [Bug 6422] rsync needlessly aborts when getcwd() fails

samba-bugs at samba-bugs at
Sat Sep 5 09:46:56 MDT 2009

wayned at changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

------- Comment #1 from wayned at  2009-09-05 10:46 CST -------
There are all sorts of options and args that can depend on the current
directory.  If we allow the determination of what the current directory is to
fail, we'd need to set a flag that the failure happened and then add code to
every case that made sure that if curr_dir was used to construct a path that it
should error out at that point.  I don't think this is worth the complexity.

For scripts, you can add a "cd /" to make sure that your current directory is
always valid.

Configure bugmail:
------- 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