I've configured Bacula (ver 1.36.3) on a FreeBSD 5.4 machine to write to a file on /backup but I'm getting the following error message each time I attempt a job:
30-Sep 14:50 aries-sd: Aries.2005-09-30_14.50.25 Fatal error: device.c:317 Unable to open device /backup. ERR=dev.c:340 Could not open: /backup/Backup-2005-09-30, ERR=Permission denied When I change the file to /tmp in bacula-sd.conf, it executes without an error. Dir/File permissions for /tmp is as follows: aries-root@/usr/local/etc: ll / total 427 -rw-r--r-- 2 root wheel 807 Sep 7 13:39 .cshrc -rw-r--r-- 2 root wheel 251 May 8 00:05 .profile drwxrwxr-x 2 root operator 512 Sep 7 06:05 .snap -r--r--r-- 1 root wheel 6192 May 8 00:05 COPYRIGHT drwxrwxr-x 4 root wheel 512 Sep 30 14:14 backup drwxr-xr-x 2 root wheel 1024 Sep 21 12:19 bin drwxr-xr-x 6 root wheel 512 Sep 22 10:58 boot drwxr-xr-x 2 root wheel 512 Sep 7 06:05 cdrom lrwxr-xr-x 1 root wheel 10 Sep 7 06:08 compat -> usr/compat dr-xr-xr-x 4 root wheel 512 Sep 29 08:16 dev drwxr-xr-x 2 root wheel 512 Sep 7 06:05 dist -rw------- 1 root wheel 4096 Sep 21 12:15 entropy drwxr-xr-x 17 root wheel 2048 Sep 29 14:37 etc lrwxrwxrwx 1 root wheel 9 Sep 7 06:11 home -> /usr/home drwxr-xr-x 3 root wheel 1024 Sep 21 12:19 lib drwxr-xr-x 2 root wheel 512 Sep 21 12:18 libexec -rw------- 1 root wheel 356352 Sep 21 15:33 login.core drwxr-xr-x 2 root wheel 512 May 8 00:00 mnt dr-xr-xr-x 2 root wheel 512 May 8 00:00 proc drwxr-xr-x 2 root wheel 2560 Sep 21 12:19 rescue drwxr-xr-x 4 root wheel 512 Sep 29 14:16 root drwxr-xr-x 2 root wheel 2560 Sep 21 12:20 sbin drwxr-xr-x 4 root wheel 1024 Sep 7 06:05 stand lrwxr-xr-x 1 root wheel 11 Sep 22 10:58 sys -> usr/src/sys drwxrwxrwt 30 root wheel 1024 Sep 30 14:50 tmp drwxr-xr-x 19 root wheel 512 Sep 7 15:11 usr drwxr-xr-x 22 root wheel 512 Sep 29 08:17 var aries-root@/usr/local/etc: ll /tmp total 97002 drwxrwxrwt 2 root wheel 512 Sep 29 15:17 .ICE-unix drwxrwxrwt 2 root wheel 512 Sep 29 15:17 .X11-unix drwxrwxrwt 2 root wheel 512 Sep 29 15:17 .XIM-unix drwxrwxrwt 2 root wheel 512 Sep 29 15:17 .font-unix srwxrwxrwx 1 pgsql wheel 0 Sep 30 14:57 .s.PGSQL.5432 -rw------- 1 pgsql wheel 26 Sep 30 14:57 .s.PGSQL.5432.lock drwxrwxr-x 2 root operator 512 Sep 7 06:05 .snap drwxr-xr-x 2 root wheel 512 Sep 29 15:17 .winbindd -rw-r----- 1 bacula wheel 99198288 Sep 30 14:31 Backup-2005-09-30 <..snip..> aries-root@/usr/local/etc: ll /backup total 4 drwxrwxr-x 2 dougs wheel 512 Sep 8 00:29 .AppleDouble drwxrwxr-x 2 root operator 512 Sep 7 06:05 .snap When I touch a file 'test' in /backup: aries-root@/usr/local/etc: ll /backup total 4 drwxrwxr-x 2 dougs wheel 512 Sep 8 00:29 .AppleDouble drwxrwxr-x 2 root operator 512 Sep 7 06:05 .snap -rw-r--r-- 1 root wheel 0 Sep 30 15:03 test Why is bacula allowed to write to /tmp but not to /backup? This is probably more a newb question.... ~Doug ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users