[pkg-bacula-devel] Bug#718641: Bug#718641: Bug#718641: delete_catalog_backup missing execute bit

Luca Capello luca at pca.it
Thu Aug 8 16:00:04 UTC 2013


Hi Willem,

NB, there is no need to Cc: submit at b.d.o or the pkg-bacula mailing list.

On Mon, 05 Aug 2013 12:06:41 +0200, W. van den Akker wrote:
> The reason why the execute bit is not set is because the DB_NAME
> variable is empty.

Can you elaborate on that?  There is nothing in bacula-director-pgsql's
postinst or /usr/share/bacula-director/postinst-common about execute bit
for delete_catalog_backup.

Actually, this seems like a duplicate of #714161, which should be fixed
in postinst-common, something like:

--8<---------------cut here---------------start------------->8---
--- postinst-common  2013-04-16 16:43:11.000000000 +0200
+++ postinst-common  2013-08-08 17:58:10.889357991 +0200
@@ -28,4 +28,7 @@
 chown root:bacula $TARGET
 chmod 640 $TARGET
 
+DELETE_CATALOG_BACKUP="/etc/bacula/scripts/delete_catalog_backup"
+chmod 755 "$DELETE_CATALOG_BACKUP"
+
 exit 0
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20130808/ebdf1d39/attachment.sig>


More information about the pkg-bacula-devel mailing list