samba-bugs@samba.org
2005-Jul-26 16:40 UTC
[Bug 2913] rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
https://bugzilla.samba.org/show_bug.cgi?id=2913 ------- Additional Comments From wayned@samba.org 2005-07-26 09:27 ------- Created an attachment (id=1336) --> (https://bugzilla.samba.org/attachment.cgi?id=1336&action=view) Use lchmod and lutimes, if present Please test this patch and see if it works for you. You will need to run "autoconf; autoheader; make proto" (or "make gen" if you already have a Makefile) and then re-run configure (e.g. "./config.status --recheck; ./config.status" if you already ran configure in that dir) before running "make". -- 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
2005-Jul-31 10:42 UTC
[Bug 2913] rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
https://bugzilla.samba.org/show_bug.cgi?id=2913 ------- Additional Comments From noreply@cpe-24-95-90-2.columbus.res.rr.com 2005-07-31 03:38 ------- the patch applies clean to: cvs co -D '2005-07-07 22:53:59-0000' which refers to the latest src rev in the patch [not knowing which tag or date to apply to]. ./configures ok, but make tanks with... gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o rsync.c: In function `set_perms': rsync.c:75: too many arguments to function `set_modtime' *** Error code 1 Stop in /tmp/rsync. so skipping ahead and using this instead... cvs co -D '2005-07-31 00:00:00-0000' ...slinks work great. the following changes to the source slinks are now transferred to the destination correctly... create/delete/user/group/perm/mtime ran against a couple million mixed inodes. all but a device and/or hardlink issue check out so far. checking... HUGE THANKS TO THE RSYNC DEVEL[S] FOR THIS SLINK WORK!!! -- 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
2005-Jul-31 23:01 UTC
[Bug 2913] rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
https://bugzilla.samba.org/show_bug.cgi?id=2913 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Additional Comments From wayned@samba.org 2005-07-31 15:43 ------- I checked this fix in to CVS a few days ago, so this appears to be fixed now. Thanks for your help testing this. -- 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.
Seemingly Similar Threads
- [Bug 2913] New: rsync of symlinks on >=bsd needs lutimes(2) and lchmod(2)
- DO NOT REPLY [Bug 4745] New: Use lchmod and lutimes whenever possible
- DO NOT REPLY [Bug 3692] New: regression: symlinks are created as hardlinks with --link-dest
- lchmod for osx (was: Symlinks in OS X (10.4.1))
- read error produces null-byte-filled destination file