On 2006-08-04 10:31, Stephen Carter wrote:
I installed Amanda via rpm and it's been around in SuSE for a long
time, so I would expect someone to have picked up this 'basic'
problem and fixed it since SuSE 9.3 up to SLES 10 if it were an
amanda compile / install issue (I tried this on SuSE 9.3, 10, 10.1,
SLES9 & 10). The permissions are correct for the amanda user, and
amanda's default group is the disk group.
The problem is that the disk group has, by default, only read access
to changer devices (/dev/sg*) in SuSE that are created dynamically
during boot. The perms assigned are governed by rules in udev, which
I pointed out.
For what it's worth, all no changer tape devices (e.g. /dev/nst*) do
give the disk group read and write perms by default so no problem
there... it's only an issue if you are using a changer with SuSE (or
CentOS apparently)
CentOS???
I run CentOS 4.3, and in my /etc/udev/permissions.d/50-udev.permissions
I find:
[...]
# disk devices
hd*:root:disk:0660
sd*:root:disk:0660
[...]
# tape devices
[...]
st*:root:disk:0660
nst*:root:disk:0660
[...]
# scsi devices
sg*:root:disk:0660
So, all seems fine here.
--
Paul Bijnens, xplanation Technology Services Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|