Amanda-Users

Summary- Re: Disk Definition question

2003-08-04 14:07:34
Subject: Summary- Re: Disk Definition question
From: "Bruntel, Mitchell L, SOLCM" <mbruntel AT att DOT com>
Date: Mon, 4 Aug 2003 13:04:03 -0500
Original question:  Why still getting permission denied, even though group 
ownership is set...
Mitch 

Solution: Permissions.  (or what advice would you give to "THE Graduate" if it 
took place today, rather than 40 years ago?"
-----Original Message-----
From: Jay Lessert [mailto:jayl AT accelerant DOT net]
Sent: Monday, August 04, 2003 1:51 PM
To: Bruntel, Mitchell L
Cc: amanda-users AT amanda DOT org
Subject: Re: Disk Definition question


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


<Prev in Thread] Current Thread [Next in Thread>
  • Summary- Re: Disk Definition question, Bruntel, Mitchell L, SOLCM <=