Well this did not seem to work either. I ran up2date to get all of the
latest updates then reinstalled the amanda package. This now worked. It
appears that something was in the way. Wish I knew what is was so this could
be more helpful.

James

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of John R. Jackson
Sent: Thursday, March 01, 2001 2:31 PM
To: James Stevens
Cc: [EMAIL PROTECTED]
Subject: Re: Permission Question


>The owner and group was amanda and disk respectively. The amanda services
is
>setup to run as user amanda and as group disk in xinetd.d/amanda. When I
>chown root.root amandates sendsize works. But now sendbackup.debug is
>giving: error [opening /etc/amandates: Permission denied].  ...

Here's how I would set up those files:

  * Set "groups = yes" in xinetd.conf so the user gets all the groups,
    not just the one you list.

  * chown amanda:disk /etc/amandates.

  * chmod ug=rw /etc/amandates.

If Amanda runs as "amanda" it should work.  If it runs as root, it should
work no matter what.

>How do I know
>what user these processes run as and what permissions I need for each file?

The processes should run as "amanda" (whatever you set in xinetd.conf).
However, some change to root to get the permissions they need.

As for permissions, the general plan is to have files Amanda needs to
work with either owned by the Amanda user or in a group the Amanda user
is a member of and with read/write access.

>James

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to