mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-02 03:55:48 -04:00
Set NO_SYMLINK_USER_XATTRS on linux. Fixes bug 7109.
This commit is contained in:
@@ -1021,6 +1021,7 @@ else
|
||||
AC_MSG_RESULT(Using Linux xattrs)
|
||||
AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs])
|
||||
AC_DEFINE(SUPPORT_XATTRS, 1)
|
||||
AC_DEFINE(NO_SYMLINK_USER_XATTRS, 1, [True if symlinks do not support user xattrs])
|
||||
;;
|
||||
darwin*)
|
||||
AC_MSG_RESULT(Using OS X xattrs)
|
||||
|
||||
@@ -64,7 +64,7 @@ int do_symlink(const char *lnk, const char *fname)
|
||||
if (dry_run) return 0;
|
||||
RETURN_ERROR_IF_RO_OR_LO;
|
||||
|
||||
#ifdef NO_SYMLINK_XATTRS
|
||||
#if defined NO_SYMLINK_XATTRS || defined NO_SYMLINK_USER_XATTRS
|
||||
/* For --fake-super, we create a normal file with mode 0600
|
||||
* and write the lnk into it. */
|
||||
if (am_root < 0) {
|
||||
|
||||
Reference in New Issue
Block a user