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
Don't (wrongly) retouch dir permissions with --fake-super.
[rsync/rsync.git]
/
lib
/
sysxattrs.c
diff --git
a/lib/sysxattrs.c
b/lib/sysxattrs.c
index
ec11d7d
..
d55ee0c
100644
(file)
--- a/
lib/sysxattrs.c
+++ b/
lib/sysxattrs.c
@@
-217,7
+217,7
@@
int sys_lremovexattr(const char *path, const char *name)
int attrdirfd;
int ret;
int attrdirfd;
int ret;
- if ((attrdirfd = attropen(path, ".", O_RD
WR
)) < 0)
+ if ((attrdirfd = attropen(path, ".", O_RD
ONLY
)) < 0)
return -1;
ret = unlinkat(attrdirfd, name, 0);
return -1;
ret = unlinkat(attrdirfd, name, 0);