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

samba-bugs at samba.org samba-bugs at samba.org
Tue Sep 13 12:02:14 MDT 2011


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

--- Comment #10 from Toralf Förster <toralf.foerster at gmx.de> 2011-09-13 18:02:13 UTC ---
Gaaah -

if I mount the NTFS drive with the fuse driver ntfs-3g instead of the kernel
ntfs driver then it works !



The kernel drivers yields into some odds like this (first rsync gives an
warning, 2nd immediate call is fine, but rm doesn't work):


tfoerste at n22 ~ $ rsync --archive --itemize-changes /mnt/C/adsmcfg/
/tmp/rsync_test/a
.d..tp..... ./
>f+++++++++ GetNwBat.CMD
>f+++++++++ LastMonthChecked.txt
rsync: mkstemp "/tmp/rsync_test/a/.GetNwBat.CMD.qz3uut" failed: Permission
denied (13)
rsync: mkstemp "/tmp/rsync_test/a/.LastMonthChecked.txt.xy5sgj" failed:
Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code
23) at main.c(1052) [sender=3.0.8]

tfoerste at n22 ~ $ rsync --archive --itemize-changes /mnt/C/adsmcfg/
/tmp/rsync_test/a
>f+++++++++ GetNwBat.CMD
>f+++++++++ LastMonthChecked.txt

foerste at n22 ~ $ rm -rf /tmp/rsync_test/a/
rm: cannot remove `/tmp/rsync_test/a/GetNwBat.CMD': Permission denied
rm: cannot remove `/tmp/rsync_test/a/LastMonthChecked.txt': Permission denied

tfoerste at n22 ~ $ stat /tmp/rsync_test/a/*
  File: `/tmp/rsync_test/a/GetNwBat.CMD'
  Size: 3799            Blocks: 8          IO Block: 4096   regular file
Device: 807h/2055d      Inode: 950629      Links: 1
Access: (0550/-r-xr-x---)  Uid: ( 1000/tfoerste)   Gid: (  100/   users)
Access: 2011-09-13 19:45:22.000000000 +0200
Modify: 2005-08-17 11:25:57.000000000 +0200
Change: 2011-09-13 19:45:22.000000000 +0200
 Birth: -
  File: `/tmp/rsync_test/a/LastMonthChecked.txt'
  Size: 5               Blocks: 8          IO Block: 4096   regular file
Device: 807h/2055d      Inode: 950630      Links: 1
Access: (0550/-r-xr-x---)  Uid: ( 1000/tfoerste)   Gid: (  100/   users)
Access: 2011-09-13 19:45:22.000000000 +0200
Modify: 2011-09-02 09:38:38.000000000 +0200
Change: 2011-09-13 19:45:22.000000000 +0200


Sry guys to bother you for a bug where the culprit might be somewhere else.
Should I blame the kernel guys, but due to the kernel.org mess their bugzilla
isn't reachable - or does ntfs-3g doesn't follow the spec ?

-- 
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