From: Marco van Wieringen Date: Fri, 17 Sep 2010 11:03:05 +0000 (+0200) Subject: Handle the old stream using the old system call just to be safe for now. X-Git-Tag: Release-7.0.0~1553 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f52cff057a6adc7e1f3dea9f0b68c6e03ae67d3;p=bacula%2Fbacula Handle the old stream using the old system call just to be safe for now. --- 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: