Skip to content

Commit 02aefa5

Browse files
authored
Merge pull request #3617 from woodmichl/fix-slow-startup
replaced chown with find -not -user -execdir chown
2 parents 4d91cfc + a5b21d0 commit 02aefa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/rootfs/etc/s6-overlay/s6-rc.d/prepare/30-ownership.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ chown -R "$PUID:$PGID" /etc/nginx/conf.d
2525

2626
# Prevents errors when installing python certbot plugins when non-root
2727
chown "$PUID:$PGID" /opt/certbot /opt/certbot/bin
28-
chown -R "$PUID:$PGID" /opt/certbot/lib/python*/site-packages
28+
find /opt/certbot/lib/python*/site-packages -not -user "$PUID" -execdir chown "$PUID:$PGID" {} \+

0 commit comments

Comments
 (0)