Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
After an rsync error dirvish did no chmod on the backup dir.
This is an problem because monitoring tools, which are normaly not running as root, aren't able to read the files in there (summary/rsync_error/log).
The fix of this issue would be really simple, just move the chmod line before the exit command.
-----
--- dirvish.pl 2005-02-19 02:07:53.000000000 +0100
+++ dirvish.patch 2015-11-12 13:53:59.352294995 +0100
@@ -800,6 +800,8 @@
"$vault/$image/rsync_error",
"$vault/$image/log";
+chmod oct($$Options{'image-perm'}) || 0755, "$vault/$image";
+
$Status eq 'success' or exit 149;
$$Options{log} =~ /.*(gzip)|(bzip2)/
@@ -824,8 +826,6 @@
and system "$$Options{index} $vault/$image/index";
}
-----
*** End of the template - remove these template lines ***