DO NOT REPLY [Bug 5304] failed to set times (symlinks)

samba-bugs at samba.org samba-bugs at samba.org
Wed Mar 5 23:22:16 GMT 2008


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


wayned at samba.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Comment #1 from wayned at samba.org  2008-03-05 17:22 CST -------
The main problem is that OS X returns an inane errno, EPERM, instead of a sane
one, ENOSYS.  If possible, complain to Apple's bug tracker about this issue and
its kin (e.g. EPERM being returned when trying to access a extended attrs of a
device, etc.).

The only error that rsync ignores these days when trying to set the time of a
symlink is ENOSYS, and that will remain the same.  You can avoid the error by
commenting out the HAVE_LUTIMES define (note the "L") in config.h.

Some work could be done with configure to avoid setting that define, but I'm
more inclined to try to get Apple to make their functions return proper errno
values.  (However, that's a soft stance, that may change.)


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