From 55d2a21a72a4f6b5ea309a11f68e20361f468877 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 17 Sep 2010 13:03:05 +0200 Subject: [PATCH] Handle the old stream using the old system call just to be safe for now. --- bacula/src/filed/acl.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bacula/src/filed/acl.c b/bacula/src/filed/acl.c index b8342bac67..94b839c71d 100644 --- a/bacula/src/filed/acl.c +++ b/bacula/src/filed/acl.c @@ -128,6 +128,7 @@ static bacl_exit_code send_acl_stream(JCR *jcr, int stream) #if defined(HAVE_EXTENDED_ACL) +#include #include /** @@ -145,6 +146,13 @@ static bacl_exit_code aix_parse_acl_streams(JCR *jcr, int stream) { switch (stream) { case STREAM_ACL_AIX_TEXT: + /** + * Handle the old stream using the old system call. + */ + if (acl_put(jcr->last_fname, jcr->acl_data->content, 0) != 0) { + return bacl_exit_error; + } + return bacl_exit_ok; case STREAM_ACL_AIX_AIXC: break; case STREAM_ACL_AIX_NFS4: -- 2.39.5