Re: Disk Definition question
2003-08-04 13:54:54
On Mon, Aug 04, 2003 at 12:32:12PM -0500, Bruntel, Mitchell L, SOLCM wrote:
> Question: getting permission denied..but..
> Amanda runs as AMANDA/operator (solaris 2.8)
> DUMP /dev/dsk/c0t0d0s3 0 OPTIONS |;auth=bsd;compress-fast;
> ERROR [could not access /dev/rdsk/c0t0d0s3 (/dev/dsk/c0t0d0s3): Permission
> denied]
> root@cluster-adm: /dev/dsk #> ls -al /dev/dsk/c0t0d0s3
>
> lrwxrwxrwx 1 root root 46 May 16 2000 /dev/dsk/c0t0d0s3 ->
> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:d
> root@cluster-adm: /dev/dsk #> ls -al
> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:d
> brw------- 1 root operator 153, 3 May 16 2000
> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:d
^^^^^^^^^^
So ufsdump is running user=amanda/group=operator, and the device is *only*
readable by owner (root), so you get "Permission denied". Quite right.
% sudo chmod g+r /devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:d
Repeat as appropriate for the other devices.
--
Jay Lessert jay_lessert AT accelerant DOT net
Accelerant Networks Inc. (voice)1.503.439.3461
Beaverton OR, USA (fax)1.503.466.9472
|
Previous by Date: |
Disk Definition question, Bruntel, Mitchell L, SOLCM |
Next by Date: |
Host Question on tape advancment, Bruntel, Mitchell L, SOLCM |
Previous by Thread: |
Disk Definition question, Bruntel, Mitchell L, SOLCM |
Next by Thread: |
Host Question on tape advancment, Bruntel, Mitchell L, SOLCM |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|