From 48a388fbd373145bdf7845b7ebeee94d8f6aca8a Mon Sep 17 00:00:00 2001 From: Jan Zeleny Date: Jan 19 2010 08:59:10 +0000 Subject: removed patch file obsoleted by rebase --- diff --git a/rsync-3.0.6-permissions.patch b/rsync-3.0.6-permissions.patch deleted file mode 100644 index c3cd30e..0000000 --- a/rsync-3.0.6-permissions.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/generator.c b/generator.c -index 8038feb..4abe6a0 100644 ---- a/generator.c -+++ b/generator.c -@@ -2034,6 +2034,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx) - static int counter = 0; - struct file_struct *file; - char *fname; -+ BOOL retouch_perms; - int i, start, end; - - if (ndx < 0) { -@@ -2054,11 +2055,13 @@ static void touch_up_dirs(struct file_list *flist, int ndx) - rprintf(FINFO, "touch_up_dirs: %s (%d)\n", - NS(fname), i); - } -+ /* Be sure not to retouch permissions with --fake-super. */ -+ retouch_perms = !am_root && !(file->mode & S_IWUSR); - if (!F_IS_ACTIVE(file) || file->flags & FLAG_MISSING_DIR -- || (!need_retouch_dir_times && file->mode & S_IWUSR)) -+ || !(need_retouch_dir_times || retouch_perms)) - continue; - fname = f_name(file, NULL); -- if (!(file->mode & S_IWUSR)) -+ if (retouch_perms) - do_chmod(fname, file->mode); - if (need_retouch_dir_times) { - STRUCT_STAT st;