Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set NO_SYMLINK_USER_XATTRS on linux. Fixes bug 7109.
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
1ed36f3
..
eab25a5
100644
(file)
--- 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;
if (dry_run) return 0;
RETURN_ERROR_IF_RO_OR_LO;
-#if
def 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) {
/* For --fake-super, we create a normal file with mode 0600
* and write the lnk into it. */
if (am_root < 0) {