From 8dcdd4a30abdabe95921174f969dcff712acb1d4 Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 12 Feb 2024 12:39:50 +0100 Subject: [PATCH] default dirs --- rootfs/app/entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rootfs/app/entrypoint.sh b/rootfs/app/entrypoint.sh index fef740f..48c6636 100755 --- a/rootfs/app/entrypoint.sh +++ b/rootfs/app/entrypoint.sh @@ -1,5 +1,11 @@ #!/bin/sh +############ CREATE DIRS +mkdir -p /auth /logs +chown proftpd /auth /logs +chmod u+rw /auth /logs +chmod g-w /auth /logs + ############ MASQUERADE MASQUERADE=${MASQUERADE:-127.0.0.1} echo "MasqueradeAddress ${MASQUERADE}" > /etc/proftpd/conf.d/masquerade.conf