Fix up permissions for tape devices versus autochangers.

This commit is contained in:
ajacoutot 2013-06-05 15:05:01 +00:00
parent 8bcb4c8633
commit 26941f5ac8
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.61 2013/06/05 14:30:23 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.62 2013/06/05 15:05:01 ajacoutot Exp $
SHARED_ONLY= Yes
@ -16,7 +16,7 @@ FULLPKGNAME-bat= bacula-bat-$V
FULLPKGPATH-bat= ${PKGPATH},-bat
CATEGORIES= sysutils
REVISION-server= 1
REVISION-server= 2
# XXX build fails if a previous version is installed
SHARED_LIBS += bac 4.0

View File

@ -1,4 +1,4 @@
$OpenBSD: README-server,v 1.4 2013/06/05 14:30:23 ajacoutot Exp $
$OpenBSD: README-server,v 1.5 2013/06/05 15:05:01 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -71,7 +71,8 @@ The Bacula user needs access to its storage device(s):
rw mode by the "_bacula-sd" user.
* when backup is stored on tape, the corresponding device node(s) must
be accessible in rw mode by the "_bacula" user.
be accessible in rw mode by the "_bacula-sd" user and the autochanger
device by the "_bacula" user.
e.g. for an autochanger, add the following lines in rc.conf.local(5)
chgrp _bacula /dev/ch0
chgrp _bacula /dev/nrst0
chgrp _bacula-sd /dev/nrst0