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
When writing to a daemon with read only = false and uid = root and -g,
[rsync/rsync.git]
/
sender.c
diff --git
a/sender.c
b/sender.c
index
623d995
..
3a44346
100644
(file)
--- a/
sender.c
+++ b/
sender.c
@@
-160,7
+160,7
@@
void send_files(struct file_list *flist,int f_out,int f_in)
return;
}
return;
}
- fd =
open(fname,O_RDONLY
);
+ fd =
do_open(fname, O_RDONLY, 0
);
if (fd == -1) {
io_error = 1;
rprintf(FERROR,"send_files failed to open %s: %s\n",
if (fd == -1) {
io_error = 1;
rprintf(FERROR,"send_files failed to open %s: %s\n",