Displaying 4 results from an estimated 4 matches for "lp_use_chroot".
2002 Feb 24
2
Write-only option
...dable",P_BOOL, P_LOCAL, &sDefault.ignore_nonreadable, NULL, 0},
@@ -342,6 +345,7 @@
FN_LOCAL_STRING(lp_path, path)
FN_LOCAL_STRING(lp_lock_file, lock_file)
FN_LOCAL_BOOL(lp_read_only, read_only)
+FN_LOCAL_BOOL(lp_write_only, write_only)
FN_LOCAL_BOOL(lp_list, list)
FN_LOCAL_BOOL(lp_use_chroot, use_chroot)
FN_LOCAL_BOOL(lp_transfer_logging, transfer_logging)
diff -urN rsync-2.5.2.orig/main.c rsync-2.5.2/main.c
--- rsync-2.5.2.orig/main.c Fri Jan 25 11:07:41 2002
+++ rsync-2.5.2/main.c Sat Feb 23 13:49:38 2002
@@ -306,10 +306,19 @@
extern int relative_paths;
extern int recurse;
ext...
2004 Feb 12
1
[PATCH] write only
...sDefault.ignore_nonreadable,
NULL, 0},
@@ -353,6 +356,7 @@ FN_LOCAL_STRING(lp_comment, comment)
FN_LOCAL_STRING(lp_path, path)
FN_LOCAL_STRING(lp_lock_file, lock_file)
FN_LOCAL_BOOL(lp_read_only, read_only)
+FN_LOCAL_BOOL(lp_write_only, write_only)
FN_LOCAL_BOOL(lp_list, list)
FN_LOCAL_BOOL(lp_use_chroot, use_chroot)
FN_LOCAL_BOOL(lp_transfer_logging, transfer_logging)
--- rsync-2.6.0/proto.h.orig Thu Feb 12 11:48:01 2004
+++ rsync-2.6.0/proto.h Thu Feb 12 11:48:23 2004
@@ -125,6 +125,7 @@ char *lp_comment(int );
char *lp_path(int );
char *lp_lock_file(int );
BOOL lp_read_only(int );
+BOOL l...
2002 Jun 18
2
rsyncd + scripting
Hey all,
Like a lot of folks, I use rsync to pull content out to production web
servers. Tastes great, less filling.
Here's what I'd like to be able to do: Sometimes a web tree is not ready
to sync, for whatever reason. I have many modules available, so stopping
ryncd is not an option. I'd like to be able to tell rsync in daemon mode
"this particular module is not available at
2001 Nov 20
2
rsync server over SSH [includes code patches]
...int rsync_module(int f_in, int f_out, int i)
{
int argc=0;
char *argv[MAX_ARGS];
***************
*** 125,170 ****
uid_t uid = (uid_t)-2;
gid_t gid = (gid_t)-2;
char *p;
! char *addr = client_addr(fd);
! char *host = client_name(fd);
char *name = lp_name(i);
int use_chroot = lp_use_chroot(i);
int start_glob=0;
int ret;
char *request=NULL;
extern int am_sender;
extern int remote_version;
extern int am_root;
if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) {
rprintf(FERROR,"rsync denied on module %s from %s (%s)\n",
! name, c...