* application-src/amgtar.c: Check gnutar_listdir before uid to 0.
* client-src/client_util.c: Use EUIDACCESS.
* common-src/amanda.h: Define EUIDACCESS.
* configure.in: Check for euidaccess and eaccess.
* config/gnulib/euidaccess.m4, config/gnulib/getgroups.m4,
  config/gnulib/gnulib-cache.m4, config/gnulib/gnulib-comp.m4,
  config/gnulib/group-member.m4, gnulib/Makefile.am,
  gnulib/euidaccess.c, gnulib/getgroups.c, gnulib/group-member.c,
  gnulib/regenerate/regenerate, gnulib/root-uid.h,
  gnulib/xalloc-oversized.h: Add euidaccess module.


git-svn-id: https://svn.code.sf.net/p/amanda/code/amanda/trunk@5579 a8d146d6-cc15-0410-8900-af154a0219e0