>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