From 0938e8eee59ac038afc47771c7dd50399fc3b311 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 21 Jan 2006 07:53:40 +0000 Subject: [PATCH] We don't ever need to send the --chmod option to the remote rsync. --- options.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/options.c b/options.c index 704833a3..c704074f 100644 --- a/options.c +++ b/options.c @@ -145,7 +145,6 @@ char *log_format = NULL; char *password_file = NULL; char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; -char *chmod_mode = NULL; char backup_dir_buf[MAXPATHLEN]; int rsync_port = 0; int compare_dest = 0; @@ -174,6 +173,7 @@ static int itemize_changes = 0; static int refused_delete, refused_archive_part, refused_compress; static int refused_partial, refused_progress, refused_delete_before; static int refused_inplace; +static char *chmod_mode = NULL; static char *max_size_arg, *min_size_arg; static char partialdir_for_delayupdate[] = ".~tmp~"; @@ -1636,11 +1636,6 @@ void server_options(char **args,int *argc) } } - if (chmod_mode && !am_sender) { - args[ac++] = "--chmod"; - args[ac++] = chmod_mode; - } - if (files_from && (!am_sender || filesfrom_host)) { if (filesfrom_host) { args[ac++] = "--files-from"; -- 2.34.1