Hi John,

The reason why the execute bit is not set is because the DB_NAME
variable is empty.
After filling this with the correct value you have to set the execute
bit.

Greetings,
Willem

On Sat, 2013-08-03 at 14:26 +0200, John Naggets wrote:
> Package: bacula-director-pgsql
> Version: 5.2.6+dfsg-9
> 
> 
> 
> The shell script delete_catalog_backup is missing the execute bit, as
> you can see here (ls output):
> 
> -rw------- 1 root root 104 Aug  2
> 11:07 /etc/bacula/scripts/delete_catalog_backup
> 
> 
> 
> As such one gets the following error when backuping the catalog:
> 
> 03-Aug 01:05 backup-dir JobId 3: shell command: run AfterJob
> "/etc/bacula/scripts/delete_catalog_backup"
> 03-Aug 01:05 backup-dir JobId 3: Error: Runscript: AfterJob returned
> non-zero status=200. ERR=Permission denied
> 
> 
> 
> And the SQL catalog file does not get delted as it should.
> 
> 
> _______________________________________________
> pkg-bacula-devel mailing list
> [email protected]
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-bacula-devel


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to