Re: /dev/ch0: Permission denied ??
2002-11-16 23:38:53
Eric, thanks for your reply. Yes, I'm running all of the am* (amlabel,
etc.) as user amanda which is in the operator group. These files are all
in /usr/local/sbin and have the following permissions:
-rwxr-xr-x 1 amanda operator 391259 Oct 19 21:52 amadmin
-rwsr-x--- 1 root operator 472595 Oct 19 21:52 amcheck
-rwxr-xr-x 1 amanda operator 1811 Oct 19 21:52 amcheckdb
-rwxr-xr-x 1 amanda operator 3936 Oct 19 21:52 amcleanup
-rwxr-xr-x 1 amanda operator 169084 Oct 19 21:52 amdd
-rwxr-xr-x 1 amanda operator 3744 Oct 19 21:52 amdump
-rwxr-xr-x 1 amanda operator 327371 Oct 19 21:52 amflush
-rwxr-xr-x 1 amanda operator 152735 Oct 19 21:52 amgetconf
-rwxr-xr-x 1 amanda operator 351501 Oct 19 21:52 amlabel
-rwxr-xr-x 1 amanda operator 169627 Oct 19 21:52 ammt
-rwxr-xr-x 1 amanda operator 4418 Oct 19 21:52 amoverview
-rwxr-x--- 1 amanda operator 324393 Oct 19 21:52 amrecover
-rwxr-xr-x 1 amanda operator 352560 Oct 19 21:52 amreport
-rwxr-xr-x 1 amanda operator 260436 Oct 19 21:52 amrestore
-rwxr-xr-x 1 amanda operator 6607 Oct 19 21:52 amrmtape
-rwxr-xr-x 1 amanda operator 29053 Oct 19 21:52 amstatus
-rwxr-xr-x 1 amanda operator 362135 Oct 19 21:52 amtape
-rwxr-xr-x 1 amanda operator 6889 Oct 19 21:52 amtoc
-rwxr-xr-x 1 amanda operator 12070 Oct 19 21:52 amverify
-rwxr-xr-x 1 amanda operator 1123 Oct 19 21:52 amverifyrun
-Kevin
At 09:11 PM 11/16/2002 -0600, Eric Schnoebelen wrote:
"Kevin F. La Barre" writes:
- Here's an interesting one.. using Amanda 2.4.3 on FreeBSD 4.5 with a
- Quantum 2500xt DLT 5 tape changer. Amanda is setup to run as user amanda
- and group operator. chio seems to work fine as I can move tapes around,
- get the status, etc. Trying to amlabel however is unsuccessful as user
- amanda as the system returns a permissions error:
Are you running those commands as the amanda user? None of
the amanda programs are setuid(amanda), so if you're not the amanda
user, or in the operator group yourself, they will fail.
--
Eric Schnoebelen eric AT cirr DOT com
http://www.cirr.com
I am a Marxist, of the Groucho tendency. -- Anon., French slogan
----------
http://www.infidati.com -- Infidati, Inc. (408) 281-7542
|
|
|