summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-06-18 10:12:47 -0700
committerWayne Davison <wayned@samba.org>2011-06-18 10:12:47 -0700
commite2c1e482e004b8f992156bf436d4bf34cee1ee1d (patch)
treeec5a77a271b3f2d1cc1c059ba30e227c1951799a /syscall.c
parent4591bb2f6651cf8efd707b6b815a3d62a1c9c418 (diff)
downloadrsync-e2c1e482e004b8f992156bf436d4bf34cee1ee1d.tar.gz
Set NO_SYMLINK_USER_XATTRS on linux. Fixes bug 7109.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/syscall.c b/syscall.c
index 1ed36f3c..eab25a55 100644
--- a/syscall.c
+++ b/syscall.c
@@ -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) {