the 'end_of_backup.sh' script doesn't successfully eject the tape.

dmesg says:
MTSETDRVBUFFER only allowed for root

bacula log says:
25-Jul 08:27 SRV1: RunAfter: /dev/tape: Permission denied
25-Jul 08:27 SRV1: RunAfter: /dev/tape: Permission denied

# grep bacula /etc/group
disk:x:6:root,bacula
bacula:x:103:

# cat end_of_backup.sh
#! /bin/sh
/etc/bacula/delete_catalog_backup
mt rewind
mt eject
exit 0

# cat /etc/redhat-release
CentOS release 4.5 (Final)

# rpm -q bacula-mysql
bacula-mysql-1.38.5-4

How can I solve this short of adding bacula to 'root' group?

-- 
Craig White <[EMAIL PROTECTED]>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to