https://bugzilla.samba.org/show_bug.cgi?id=3752
------- Comment #4 from [email protected] 2009-05-03 11:44 CST ------- (In reply to comment #2) > The problem is indeed with EncFS/FUSE... e.g mv xxx yyy changes the mod time > > Solved by modifying "syscall.c" > > int do_rename(const char *fname1, const char *fname2) > { > if (dry_run) return 0; > RETURN_ERROR_IF_RO_OR_LO; > // return rename(fname1, fname2); > { > int x1; > struct stat s1; > x1 = stat(fname1, &s1); > if (x1 != 0) > return x1; > x1 = rename(fname1, fname2); > if (x1 != 0) > return x1; > return set_modtime(fname2, s1.st_mtime, s1.st_mode); > } > } > I can confirm the bug has not been fixed in rsync 3.0.5 & encfs 1.4.2. The patch still works with rsync 3.0.5 Download source from http://www.samba.org/ftp/rsync/src/rsync-3.0.5.tar.gz Extract to /tmp cd /tmp vi syscall.c Search for do_rename. Apply patch & save ./configure make install cp /usr/local/bin/rysnc /usr/bin -- 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. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
