We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 617252b commit 9e478f2Copy full SHA for 9e478f2
docker/entrypoint.sh
@@ -26,8 +26,8 @@ function fix_ownership() {
26
# Perform the check per subdirectory to avoid unnecessary churn.
27
# Assumes the ownership of the directories matches its subdirectories/files.
28
#
29
- find "$dir" -maxdepth 1 -mindepth 1 \! -user $OWNER_USER -o \! -group $OWNER_GROUP \
30
- -exec chown -R $OWNER_USER:$OWNER_USER {} \;
+ find "$dir" -maxdepth 1 -mindepth 1 \! -user $OWNER_USER -o \! -group $OWNER_GROUP | \
+ xargs chown -R $OWNER_USER:$OWNER_USER
31
}
32
33
command -v gosu >/dev/null 2>&1 || { echo "gosu missing"; exit 1; }
0 commit comments