Amanda-Users

Re: Problem: acces denied

2006-08-21 08:50:46
Subject: Re: Problem: acces denied
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Natalia García Nebot <natalia AT sisystem DOT com>
Date: Mon, 21 Aug 2006 13:22:59 +0200
On 2006-08-21 12:58, Natalia García Nebot wrote:
Hi all! when i execute "su amanda -c "amcheck DiariaPrueba" i get this message:

   Amanda Backup Client Hosts Check
   --------------------------------
   ERROR: aroprod: [could not access /home/natalia (/home/natalia):
   Permission denied]
   Client check: 1 host checked in 10.011 seconds, 1 problem found

The directory to back up is this:

   drwx------   2 natalia natalia  4096 Aug 17 13:20 natalia

For Amanda the user is amanda and the group is disk. What can i do?


Amanda needs to have access to the top level directory of the DLE.
At least when checking, because when the real backup is done, the
setuid-root runtar program will succeed in accessing that directory
without any problem.

So this is one of those errors for which amcheck cannot predict it
will succeed for the real run.   You may ignore that error (or better
yet, chmod the toplevel dir if possible).


--
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************


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