We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f54490 commit 1357774Copy full SHA for 1357774
docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh
@@ -28,7 +28,10 @@ CERT_INIT_FLAG="/opt/certbot/.ownership_initialized"
28
29
if [ ! -f "$CERT_INIT_FLAG" ]; then
30
# Prevents errors when installing python certbot plugins when non-root
31
- chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
+ if [ "$SKIP_CERTBOT_OWNERSHIP" != "true" ]; then
32
+ log_info 'Changing ownership of /opt/certbot directories ...'
33
+ chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
34
+ fi
35
36
# Handle all site-packages directories efficiently
37
find /opt/certbot/lib -type d -name "site-packages" | while read -r SITE_PACKAGES_DIR; do
0 commit comments