Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
26ac181
)
Make the --xattrs option not imply --perms.
author
Wayne Davison
<wayned@samba.org>
Sat, 4 Aug 2007 22:19:43 +0000
(22:19 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 4 Aug 2007 22:19:43 +0000
(22:19 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
a404a8d
..
63a9e12
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-329,7
+329,7
@@
void usage(enum logcode F)
rprintf(F," -A, --acls preserve ACLs (implies --perms)\n");
#endif
#ifdef SUPPORT_XATTRS
rprintf(F," -A, --acls preserve ACLs (implies --perms)\n");
#endif
#ifdef SUPPORT_XATTRS
- rprintf(F," -X, --xattrs preserve extended attributes
(implies --perms)
\n");
+ rprintf(F," -X, --xattrs preserve extended attributes\n");
#endif
rprintf(F," -o, --owner preserve owner (super-user only)\n");
rprintf(F," -g, --group preserve group\n");
#endif
rprintf(F," -o, --owner preserve owner (super-user only)\n");
rprintf(F," -g, --group preserve group\n");
@@
-1190,7
+1190,6
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
case 'X':
#ifdef SUPPORT_XATTRS
preserve_xattrs++;
case 'X':
#ifdef SUPPORT_XATTRS
preserve_xattrs++;
- preserve_perms = 1;
break;
#else
snprintf(err_buf,sizeof(err_buf),
break;
#else
snprintf(err_buf,sizeof(err_buf),