Amanda-Users

Re: changer setup problems

2003-06-13 10:24:42
Subject: Re: changer setup problems
From: "Tom Brown" <tom.brown AT goodtechnology DOT com>
To: "Joshua Baker-LePain" <jlb17 AT duke DOT edu>
Date: Fri, 13 Jun 2003 14:34:29 +0100
> > time i also have a CDROM and i don't seem to be able to set the
> > channgerdevice. I have tried /dev/sg0 through /dev/sg7 but i just get
> > permision dened for them all. What should it be?
>
> Well, what *are* the permissions on /dev/sg[0-2]?  And what group is the
> amanda user in?

The permissions on /dev/sg[0-2] are....

ls -l /dev/sg*
lrwxrwxrwx    1 root     disk            3 Jun  8  2001 /dev/sg0 -> sga
lrwxrwxrwx    1 root     disk            3 Jun  8  2001 /dev/sg1 -> sgb
lrwxrwxrwx    1 root     disk            3 Jun  8  2001 /dev/sg2 -> sgc

and i have just realised the error - i had not bothered to check the
permissions on the symlinks

and sg[a-c] are now!

crwxrwxr-x    1 root     disk      21,   0 May  5  1998 /dev/sga
crwxrwxr-x    1 root     disk      21,   1 May  5  1998 /dev/sgb
crwxrwxr-x    1 root     disk      21,   2 May  5  1998 /dev/sgc

when they were

crw-------    1 root     disk      21,   3 May  5  1998 /dev/sga
crw-------    1 root     disk      21,   4 May  5  1998 /dev/sgb
crw-------    1 root     disk      21,   5 May  5  1998 /dev/sgc

i run as the operator user and they are in the disk group

Apologies to the group it now works

thanks

Tom



<Prev in Thread] Current Thread [Next in Thread>