Hello,

2014-08-11 15:44 GMT+02:00 Markus "Shorty" Uckelmann <[email protected]>:

> On 11.08.2014 15:09, Andreas Nastke wrote:
> > shouldn't that be typed:
> >
> >     "... -exec \{\} \;"
> >
> > ?
>
> Sadly not. I tried this in /etc/bacula/bacula-dir.conf:
>
> @|"find /etc/bacula/conf.d/clients -name '*.conf' -type f -exec echo
> \{\} \;"
>
> And after a reload it threw the same error:
>
> 11-Aug 15:41 bacula-dir: ERROR in parse_conf.c:938 Config error:
> Expected a Resource name identifier, got: find:
>             : line 1, col 5 of file |find /etc/bacula/conf.d/clients
> -name '*.conf' -type f -exec echo {} ;
> find: Failed to change directory: Permission denied
>
>
This is a permission problem. Check all your directory config for access
from bacula user. One of the following directories in tree:
/etc/bacula/conf.d/clients are not accessible by bacula user.

root@bacula:/etc/bacula # bacula-dir -tc ./bacula-dir.conf


Yes, it will work when you are checking a config files with '-t' option
because you are checking it with root user, right?

best regards
-- 
Radosław Korzeniewski
[email protected]
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to