X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b5c6a6aeeb7d526e023454ea681b7381945bced8..e912bd4dfbd9cfa83f7b76209b3fcb34f59b92f9:/backup.c diff --git a/backup.c b/backup.c index 11011cfd..e5b83848 100644 --- a/backup.c +++ b/backup.c @@ -261,7 +261,7 @@ static int keep_backup(char *fname) robust_unlink(fname); /* Just in case... */ } } - set_perms(buf, file, NULL, 0); + set_file_attrs(buf, file, NULL, 0); free(file); if (verbose > 1) {