Maria McKinley schrieb:
> Falk Sauer wrote:
> > please make shure that your changer device has the correct permissions eg.:
> > 
> >  crw-rw---- root disk /dev/sg0
> > 
> > and for the potentially next problem ...
> > by your tapedrive device i'm unshure, i think this should /dev/nst0, i 
> > don't 
> > know how its correct on exabyte tapes.
> > 
> > Normally the /dev/st* device makes a automatic rewind after write, 
> > the /dev/nst* make no auto rewind. Bacula needs imho a non auto rewinding 
> > device. You dosn't write wich OS you use, here are little differences 
> > between 
> > the OSes.
> 
> My permissions are:
> 
> crw------- 1 root root     21,   0 2005-02-25 22:38 sg0
> 
> so, maybe that is my problem. Can I just change this, like any file, 
> with chown (assuming that the disk part is important) and chmod?

udev might override the permissions again. I would create an udev rule
to set the right permissions (check if your system uses udev).

You could try something like that:

/etc/udev/rules.d/010-local.rules 

KERNEL=="st*",                  GROUP="tape", MODE="0660"
KERNEL=="nst*",                 GROUP="tape", MODE="0660"

/etc/init.d/udev restart (or reload...)

The bacula user has to be member of group tape.

Ralf

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to