diff --git a/rootfs-php74/app/entrypoint.sh b/rootfs-php74/app/entrypoint.sh index f6ff9a4..74e2b36 100755 --- a/rootfs-php74/app/entrypoint.sh +++ b/rootfs-php74/app/entrypoint.sh @@ -79,7 +79,9 @@ if [ -f /ssh/authorized_keys ] ; then chown "${USERNAME}:${GROUPNAME}" /ssh/authorized_keys fi -chmod 0700 "${WEBROOT}/.ssh" +if [ -d "${PATH_WEBROOT}/.ssh" ] ; then + chmod 0700 "${PATH_WEBROOT}/.ssh" +fi /usr/sbin/sshd -e cat > /etc/nginx/conf.d/user.conf <