>>>>> On Fri, 10 Mar 2006 11:16:34 +0000 (GMT), david robert <[EMAIL >>>>> PROTECTED]> said: > > i am sending here my bacula director,storage and tape drive permissions > > bacula 1280 1 0 Mar08 ? 00:00:00 /usr/sbin/bacula-sd -c > /etc/bacula/bacula-sd.conf -u bacula -g tape > bacula 1281 1280 0 Mar08 ? 00:00:00 /usr/sbin/bacula-sd -c > /etc/bacula/bacula-sd.conf -u bacula -g tape > bacula 1283 1281 0 Mar08 ? 00:00:00 /usr/sbin/bacula-sd -c > /etc/bacula/bacula-sd.conf -u bacula -g tape > bacula 1412 1 0 Mar08 ? 00:00:00 /usr/sbin/bacula-dir -c > /etc/bacula/bacula-dir.conf -u bacula -g bacula > bacula 1413 1412 0 Mar08 ? 00:00:00 /usr/sbin/bacula-dir -c > /etc/bacula/bacula-dir.conf -u bacula -g bacula > bacula 1414 1413 0 Mar08 ? 00:00:00 /usr/sbin/bacula-dir -c > /etc/bacula/bacula-dir.conf -u bacula -g bacula > bacula 1415 1413 0 Mar08 ? 00:00:00 /usr/sbin/bacula-dir -c > /etc/bacula/bacula-dir.conf -u bacula -g bacula > > nst0 permissions as follows > > crw-rw---- 1 root tape 9, 128 2005-02-26 06:38 nst0
The bacula-dir (which runs the RunAfterJob script) is running as group "bacula" but the tape can only be accessed by group "tape". The bacula-sd is running as group "tape" so that is OK. You could try using the "Offline On Unmount" to make the bconsole's unmount command eject the tape, which might remove the need for mt. __Martin ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users