samba-bugs@samba.org
2007-Jul-19  19:12 UTC
DO NOT REPLY [Bug 4803] New: link-dest folder is not validated
https://bugzilla.samba.org/show_bug.cgi?id=4803
           Summary: link-dest folder is not validated
           Product: rsync
           Version: 3.0.0
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned@samba.org
        ReportedBy: smokin.jake@mac.com
         QAContact: rsync-qa@samba.org
While I get error messages if the Source or Destination is invalid, I don't
get
one for an invalid --link-dest . A link-dest of $HOME/... works while ~/... 
does not. 
ie 
rsync -avi  --link-dest=$HOME/Desktop/folder2  ~/Desktop/folder1/
~/Desktop/folder3/
and
rsync -avi  --link-dest=../Desktop/folder2  ~/Desktop/folder1/
~/Desktop/folder3/
will both hard link,
rsync -avi --link-dest=~/Desktop/folder2  ~/Desktop/folder1/ ~/Desktop/folder3/
does not.
The problem is componded by the lack of a warning message
-- 
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.
samba-bugs@samba.org
2007-Jul-19  19:17 UTC
DO NOT REPLY [Bug 4803] link-dest folder is not validated
https://bugzilla.samba.org/show_bug.cgi?id=4803 ------- Comment #1 from wayned@samba.org 2007-07-19 14:17 CST ------- A leading ~ is a shell expansion that only occurs at the start of an arg. If you want the shell to expand it, get rid of the '=' in the --link-dest option: --link-dest ~/Desktop/folder2 Seems like a good idea to make rsync iterate over the --*-dest args and report problems. -- 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.
samba-bugs@samba.org
2007-Dec-15  16:23 UTC
DO NOT REPLY [Bug 4803] link-dest folder is not validated
https://bugzilla.samba.org/show_bug.cgi?id=4803
wayned@samba.org changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
------- Comment #2 from wayned@samba.org  2007-12-15 10:23 CST -------
The version in the git repository now reports on problems with the
alternate-basis directories.
-- 
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.