On Mon, Feb 05, 2001 at 10:50:45AM -0500, Stan Brown wrote:
> I'm just seting up my first Linux (Debian Potato) box in a while.
> Eventually it will be a tapehost, but tirght now I'm just trying to set it
> up as a client.
>
> Compile, and install went well, and i got /etc/services, and inetd.conf set
> up corectly (I think).
>
> However I am getting a premissions error:
>
> Amanda Backup Client Hosts Check
> --------------------------------
> ERROR: debian: [can not access /dev/hdc1 (hdc1): Permission denied]
> ERROR: debian: [can not access /dev/hda1 (hda1): Permission denied]
> ERROR: debian: [can not access /dev/hda3 (hda3): Permission denied]
> ERROR: debian: [can not read/write /etc/dumpdates: No such file or
> directory]
> Client check: 20 hosts checked in 0.545 seconds, 4 problems found
>
> Here are the premissions of the executables:
>
> -rwxr-xr-x 1 amanda disk 337250 Feb 5 05:05 amadmin
> -rwsr-x--- 1 root disk 345638 Feb 5 05:05 amcheck
> -rwxr-xr-x 1 amanda disk 1861 Feb 5 05:05 amcheckdb
> -rwxr-xr-x 1 amanda disk 3962 Feb 5 05:05 amcleanup
> -rwxr-xr-x 1 amanda disk 3556 Feb 5 05:05 amdump
> -rwxr-xr-x 1 amanda disk 317114 Feb 5 05:05 amflush
> -rwxr-xr-x 1 amanda disk 122193 Feb 5 05:05 amgetconf
> -rwxr-xr-x 1 amanda disk 261066 Feb 5 05:05 amlabel
> -rwxr-xr-x 1 amanda disk 4191 Feb 5 05:06 amoverview
> -rwxr-xr-x 1 amanda disk 4482 Feb 5 05:06 amplot
> -rwxr-x--- 1 amanda disk 292191 Feb 5 05:06 amrecover
> -rwxr-xr-x 1 amanda disk 293332 Feb 5 05:05 amreport
> -rwxr-xr-x 1 amanda disk 171745 Feb 5 05:06 amrestore
> -rwxr-xr-x 1 amanda disk 6461 Feb 5 05:06 amrmtape
> -rwxr-xr-x 1 amanda disk 20386 Feb 5 05:06 amstatus
> -rwxr-xr-x 1 amanda disk 270070 Feb 5 05:05 amtape
> -rwxr-xr-x 1 amanda disk 6587 Feb 5 05:06 amtoc
> -rwxr-xr-x 1 amanda disk 11510 Feb 5 05:06 amverify
>
> And here are the permissions on the disks:
>
> brw-rw---- 1 root disk 3, 1 Nov 30 10:22 /dev/hda1
>
> What have I got wrong?
Is amanda a member of group disk? (it's not sufficient for the executables
to belong to group disk, unless they are setgid (and I'm not sure that would
be desirable))
-ron