There is a lchown manual page on 10.3, but running nm on
/usr/lib/lib*dylib and greping all headers in /usr/include shows no
lchown symbol.
The next rdiff-backup release may want to special case this.
Does 10.4 have lchown?
Yes.
[EMAIL PROTECTED] ~]$ uname -a
Darwin spiff.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24
17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh
powerpc
(Darwin 8.2.0 == OS X 10.4.2)
[EMAIL PROTECTED] /usr/include]$ find_grep '*.h' lchown
./sys/syscall.h:#define SYS_lchown 364
./unistd.h:int lchown(const char *, uid_t, gid_t) __DARWIN_ALIAS
(lchown);
[EMAIL PROTECTED] /usr/lib]$ nm lib*.dylib | fgrep lchown
libSystem.B.dylib(lchown.So):
900c3398 T _lchown
900c3364 T _lchown$UNIX2003
What's 10.3, does that mean Mac OS X?
Yes.
How do people change the ownership of
symbolic links on your system without lchown?
I don't know.
I hoped for a second that it existed in the kernel and just not in a
standard userspace way. Then you could get to it through SYSCALL
(which Perl pushes through; Python probably does, too). But no go. I
don't see it in the kernel source for 10.3.2. I think it'd be here:
http://cvs.opendarwin.org/index.cgi/src/xnu/bsd/vfs/vfs_syscalls.c
--
Scott Lamb <http://www.slamb.org/>
_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki