Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b66bc
)
The call to do_chmod() needed to be conditional.
author
Wayne Davison
<wayned@samba.org>
Tue, 21 Nov 2006 08:35:22 +0000
(08:35 +0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 21 Nov 2006 08:35:22 +0000
(08:35 +0000)
backup.c
patch
|
blob
|
blame
|
history
diff --git
a/backup.c
b/backup.c
index
612130b
..
8500043
100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-132,7
+132,9
@@
static int make_bak_dir(char *fullpath)
full_fname(rel));
} else {
do_lchown(fullpath, st.st_uid, st.st_gid);
+#ifdef HAVE_CHMOD
do_chmod(fullpath, st.st_mode);
+#endif
}
}
*p = '/';