DO NOT REPLY [Bug 3752] rsync unusable with EncFS filesystem
samba-bugs at samba.org
samba-bugs at samba.org
Fri May 5 18:39:45 GMT 2006
https://bugzilla.samba.org/show_bug.cgi?id=3752
------- Comment #2 from micheala at jacey.org 2006-05-05 13:39 MST -------
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);
}
}
--
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.
More information about the rsync
mailing list