Re: amcheck-ing root files

2018-11-29 Thread Jon LaBadie
On Thu, Nov 29, 2018 at 03:06:17PM +0100, Stefan G. Weichinger wrote:
> 
> I know it was topic here already ... long ago, maybe someone knows a
> solution to this already:
> 
> I have files owned by root that get correctly amdump-ed but throw ugly
> errors/warnings when I run my daily amcheck via cron (to remind admins to
> change tapes if necessary).
> 
> So I get for example:
> 
> Amanda Backup Client Hosts Check
> 
> HOST backup ERROR: backup: Could not access samba_DC_meta
> (/root/dc_stuff/backups): Permission denied
> 
> but the actual backup works
> 
> Can I get rid of that? This floods my inboxes and is noise ...

Are the directories not group root and readable/executable
by group?  Maybe make the amanda a secondary member of the group.

Use acl's to specifically let amanda user access.

jl

-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)


Re: amcheck-ing root files

2018-11-29 Thread Nathan Stratton Treadway
On Thu, Nov 29, 2018 at 15:06:17 +0100, Stefan G. Weichinger wrote:
> 
> I have files owned by root that get correctly amdump-ed but throw
> ugly errors/warnings when I run my daily amcheck via cron (to remind
> admins to change tapes if necessary).
> 
> So I get for example:
> 
> Amanda Backup Client Hosts Check
> 
> HOST backup ERROR: backup: Could not access samba_DC_meta
> (/root/dc_stuff/backups): Permission denied
> 
> but the actual backup works
> 
> Can I get rid of that? This floods my inboxes and is noise ...


Which backup program is used for this DLE?  (Which version of Amanda?)

What are the ownership and permissions on /root, /root/dc_stuff, and
/root/dc_stuff/backups directories?  

(I am trying to remember the details of this situation, but for example
it might be significant if is it just the final level of the path that
is unreadable, or if the intermediate directories are also.)

(On the client machine in qustion) is the Unix user amanda runs under a
member of any Unix groups?

Nathan


Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239


amcheck-ing root files

2018-11-29 Thread Stefan G. Weichinger



I know it was topic here already ... long ago, maybe someone knows a 
solution to this already:


I have files owned by root that get correctly amdump-ed but throw ugly 
errors/warnings when I run my daily amcheck via cron (to remind admins 
to change tapes if necessary).


So I get for example:

Amanda Backup Client Hosts Check

HOST backup ERROR: backup: Could not access samba_DC_meta 
(/root/dc_stuff/backups): Permission denied


but the actual backup works

Can I get rid of that? This floods my inboxes and is noise ...