[Bug 8450] --link-dest seems not to work mounted NTFS file systems

samba-bugs at samba.org samba-bugs at samba.org
Mon Sep 12 10:45:32 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8450

--- Comment #2 from Toralf Förster <toralf.foerster at gmx.de> 2011-09-12 16:45:32 UTC ---
Ah - now the pciture becomes clear - I changed my script few days ago to use
relative paths - which doesn't work:

When I specify :

target dir: /mnt/media/daily/a
   ref dir:      ../../daily/f

it doesn't work, however this works :

target dir: /mnt/media/daily/a
   ref dir:      /mnt/media/daily/f


OTOH the relative path itself is ok :

n22 ~ # ls -ld /mnt/media/daily/a
drwxr-xr-x 17 root root 4096 Aug 12 18:28 /mnt/media/daily/a

n22 ~ # ls -ld /mnt/media/daily/a/../../daily/f
drwxr-xr-x 17 root root 4096 Sep 12 17:22 /mnt/media/daily/a/../../daily/f

which let me thinkig, that rsync appends the relative path to <dest> in this
way (which is not intended, but I cannot specify an additional slash "/" - then
it would be an absolute path) :

n22 ~ # ls -ld /mnt/media/daily/a../../daily/f
ls: cannot access /mnt/media/daily/a../../daily/f: No such file or directory

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list