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