From 06ba4b3d78a1a5629b575fc346672e9a7d5ab592 Mon Sep 17 00:00:00 2001 From: JeGoi <13801368+JeGoi@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:08:00 -0500 Subject: [PATCH] Change chmod in pfperl-api container --- containers/pfperl-api/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/containers/pfperl-api/Dockerfile b/containers/pfperl-api/Dockerfile index a764c7ac4c2..98e6af56c62 100644 --- a/containers/pfperl-api/Dockerfile +++ b/containers/pfperl-api/Dockerfile @@ -14,10 +14,10 @@ COPY ./addons/ntlm-auth-api/openssl.cnf /etc/ssl/openssl.cnf RUN ln -s /usr/local/pf/bin/pfcmd.pl /usr/local/pf/bin/pfcmd && \ ln -s /usr/local/pf/bin/impacket/impacket-addcomputer.py /usr/local/pf/bin/impacket-addcomputer && \ - chmod +x /usr/local/pf/bin/impacket-addcomputer && \ - mkdir -p /usr/local/pf/var/run/ && \ - chmod 0744 /usr/local/pf/var/run/ && \ - mkdir -p /usr/local/pf/var/control && \ + chmod +x ./bin/impacket/impacket-addcomputer.py && \ + mkdir -p ./var/run/ && \ + chmod 0744 ./var/run/ && \ + mkdir -p ./var/control && \ bash -c 'cd /usr/local/pf/db && export VERSIONSQL=$(ls pf-schema-* |sort --version-sort -r | head -1) && ln -f -s $VERSIONSQL ./pf-schema.sql' ENTRYPOINT /usr/local/pf/sbin/pfperl-api prefork -m production -l http://127.0.0.1:22224 -l http://100.64.0.1:22224 --pid-file /usr/local/pf/var/run/pfperl-api.pid