diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index 86cf501..ee15fd3 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -175,6 +175,12 @@ echo " Preparing NTP signing socket" echo "==============================================" mkdir -p /var/lib/samba/ntp_signd +if [ -d "/var/lib/samba/ntp_signd" ]; then + chmod 0750 /var/lib/samba/ntp_signd +else + mkdir -p /var/lib/samba/ntp_signd + chmod 0750 /var/lib/samba/ntp_signd +fi # ------------------------------------------------------------ # Start Samba first