From 03945e63882fd2c9d3a712df990d7589bcd09b04 Mon Sep 17 00:00:00 2001 From: leitosama Date: Wed, 21 Aug 2024 13:27:32 +0000 Subject: [PATCH] Fix OpenCTI-Platform#2507 for connector-import-file-stix Signed-off-by: leitosama --- internal-import-file/import-file-stix/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal-import-file/import-file-stix/Dockerfile b/internal-import-file/import-file-stix/Dockerfile index 9fdda79de5..12c0acb333 100644 --- a/internal-import-file/import-file-stix/Dockerfile +++ b/internal-import-file/import-file-stix/Dockerfile @@ -13,5 +13,6 @@ RUN apk --no-cache add git build-base libmagic libffi-dev libxml2-dev libxslt-de # Expose and entrypoint COPY entrypoint.sh / -RUN chmod +x /entrypoint.sh +RUN chmod +x /entrypoint.sh && chown -R :root /opt/opencti-connector-import-file-stix && chmod -R g+rwX /opt/opencti-connector-import-file-stix +WORKDIR /opt/opencti-connector-import-file-stix ENTRYPOINT ["/entrypoint.sh"]