Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
e2c1e482
Commit
e2c1e482
authored
Jun 18, 2011
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set NO_SYMLINK_USER_XATTRS on linux. Fixes bug 7109.
parent
4591bb2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
configure.ac
configure.ac
+1
-0
syscall.c
syscall.c
+1
-1
No files found.
configure.ac
View file @
e2c1e482
...
...
@@ -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)
...
...
syscall.c
View file @
e2c1e482
...
...
@@ -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
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment