Thanks for reporting the problem, The attached patch fix it.
Jean-Louis On 10/02/16 02:56 PM, Jose M Calhariz wrote:
In preparation for a new amanda 3.3.8 in Debian I created a preview package for jessie that I testing on my backup machine. I found that I can't backup some DLE. Looking into data stream that goes to the tape or the holdingdisk I found that the data stream includes the messages errors of tar. Or more precise that it can't open the exclude file. This problem was not present on previous Debian amanda 3.3.6 Follow an example: ERROR [Can't open exclude file /home/cal/Maildir/.exclude.lst (Permission denied)] ./^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ Kind regards Jose M Calhariz
diff --git a/application-src/ambsdtar.c b/application-src/ambsdtar.c index eb1eb0e..23c9e7e 100644 --- a/application-src/ambsdtar.c +++ b/application-src/ambsdtar.c @@ -1984,7 +1984,7 @@ ambsdtar_build_argv( GPtrArray *argv_ptr = g_ptr_array_new(); GSList *copt; - ambsdtar_build_exinclude(&argument->dle, 1, + ambsdtar_build_exinclude(&argument->dle, 0, &nb_exclude, file_exclude, &nb_include, file_include); diff --git a/application-src/amgtar.c b/application-src/amgtar.c index bc3e96c..291a3c3 100644 --- a/application-src/amgtar.c +++ b/application-src/amgtar.c @@ -1598,7 +1598,7 @@ GPtrArray *amgtar_build_argv( GSList *copt; check_no_check_device(); - amgtar_build_exinclude(&argument->dle, 1, + amgtar_build_exinclude(&argument->dle, 0, &nb_exclude, file_exclude, &nb_include, file_include);