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
Make sure secrets file is not other-accessible, and owned by root if the
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
299e771
..
1cc6437
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-187,6
+187,12
@@
static int rsync_module(int fd, int i)
gid = atoi(p);
}
gid = atoi(p);
}
+ p = lp_include_from(i);
+ add_exclude_file(p, 1, 1);
+
+ p = lp_include(i);
+ add_include_line(p);
+
p = lp_exclude_from(i);
add_exclude_file(p, 1, 0);
p = lp_exclude_from(i);
add_exclude_file(p, 1, 0);