Amanda-Users

Re: Can't open exclude file ???

2004-01-28 10:56:49
Subject: Re: Can't open exclude file ???
From: Michael D Schleif <mds AT helices DOT org>
To: amanda mailing list <amanda-users AT amanda DOT org>
Date: Wed, 28 Jan 2004 09:52:41 -0600
* Jon LaBadie <jon AT jgcomp DOT com> [2004:01:28:10:28:28-0500] scribed:
> On Wed, Jan 28, 2004 at 09:07:34AM -0600, Michael D Schleif wrote:
<snip />

> > Now, since this addition, I get this:
> > 
> >    # sudo -u backup amcheck DailySet1 -cltw
> >    Amanda Tape Server Host Check
> >    -----------------------------
> >    Holding disk /space: 3704388 KB disk space available, using 3704388 KB
> >    Tape backup.015 is writable
> >    Tape backup.015 label ok
> >    Server check took 39.313 seconds
> > 
> >    Amanda Backup Client Hosts Check
> >    --------------------------------
> >    ERROR: bragi.private.network: [Can't open exclude file 
> > '/usr/local/home/mds/mail/.amanda.excludes': Permission denied]
> >    Client check: 2 hosts checked in 7.134 seconds, 1 problem found
> > 
> >    (brought to you by Amanda 2.4.4p1)
<snip />

> Check the permissions on the mail directory, or possibly - but unlikely,
> the directories above it.
> 
> IIRC, amcheck does not run with the same root permissions as amdump.
> Thus it may not be able to get to the excluce file during an amcheck.

Ironically, I do _not_ need any exclude file for this DLE.  Initially, I
did not have any exclude file, and amcheck issued the _same_ error.
Then, I touched an empty exclude file, resulting in the same error.  For
my original post, I included two temporary directories in the exclude
file.

Regarding perms:

   # ls -adl /usr
   drwxr-xr-x   16 root     root         4096 Oct  6 14:15 /usr

   # ls -adl /usr/local/home 
   drwxrwsr-x    7 root     staff        4096 Jan 16 21:17 /usr/local/home

   # ls -adl /usr/local/home/mds
   drwxr-xr-x   44 mds      mds          8192 Jan 28 09:07 /usr/local/home/mds

   # ls -adl /usr/local/home/mds/mail
   drwx------   19 mds      mds          4096 Jan 28 01:00 
/usr/local/home/mds/mail

Else?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>