Amanda-Users

Re: exclude list optional not working?

2005-07-05 13:29:22
Subject: Re: exclude list optional not working?
From: Graeme Humphries <graeme.humphries AT vcom DOT com>
To: Frank Smith <fsmith AT hoovers DOT com>
Date: Tue, 05 Jul 2005 11:19:09 -0600
On Tue, 2005-07-05 at 12:07 -0500, Frank Smith wrote:
> You really shouldn't be running Amanda as root, but as a separate
> user.  When you run 'make install' as root it installs the executables
> that need root access suid root.  Then when your backups run it can
> access everything necessary.

I've installed via Debian (Ubuntu) package, and the reason I need to run
as root is because on our fileserver, giving access to the amanda user
in the unix permissions isn't feasible. You can thank Samba and Windows
clients that decide to automatically overwrite ACLs for that. ;P

> In my experience the error occurs if Amanda can't access the directory
> to see if the file is there.  Perhaps the docs need to be rephrased.
> The error is harmless, runtar can access the exclude file (as root)
> and will do what you want (assuming your file is correct).

I'd rather just have any permission related error ignored if the
optional keyword is used. Is there a situation where we *would* want it
to hard error out on an optional exclude list if it can't get into the
directory the exclude list is supposed to be in?

Graeme