Bacula-users

Re: [Bacula-users] Permissions error

2009-03-09 07:29:00
Subject: Re: [Bacula-users] Permissions error
From: Brian McDonald <bmcdonald AT lustygrapes DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 9 Mar 2009 07:18:46 -0400
On Monday 09 March 2009 5:52:19 am Tony Yarusso wrote:
> I'm getting the following error, and have no idea why - hoping someone
> can shed some light on it.  It seems to be only happening for the Full
> backup (which is the only one that has a RunBeforeJob defined
> currently - I'm not sure what that does so I hadn't added it to others
> yet).  I've included the message and permissions listings below.  This
> is on Ubuntu 8.04.

[snip]

> 07-Mar 23:10 flamtap.com-dir JobId 1594: BeforeJob: awk:
> /etc/bacula/scripts/make_catalog_backup_awk:10: fatal: cannot open
> file `/etc/bacula/bacula-dir.conf' for reading (Permission denied)

[snip]

> ls -l /etc/bacula:
> -rw-r----- 1 root   root   11184 2009-03-05 23:27 bacula-dir.conf

The bacula-dir program generally runs as the user bacula, which will not have 
permission to read this file.  You can chgrp it to some group that bacula is 
part of (disk, perhaps) and it should then be able to read it.

Brian

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>