diff options
author | Wayne Davison <wayned@samba.org> | 2006-11-21 08:35:22 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-11-21 08:35:22 +0000 |
commit | 1e999f9f1b6940a4b355054b5f15435c3030996c (patch) | |
tree | f3520ae13b47cc876096eebab310eb01d8c3b948 /backup.c | |
parent | f9b66bc4641e8b7cd1a9ddfac8319cd9dfaa6ea8 (diff) | |
download | android_external_rsync-1e999f9f1b6940a4b355054b5f15435c3030996c.tar.gz android_external_rsync-1e999f9f1b6940a4b355054b5f15435c3030996c.tar.bz2 android_external_rsync-1e999f9f1b6940a4b355054b5f15435c3030996c.zip |
The call to do_chmod() needed to be conditional.
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 = '/'; |