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 a1608a1 commit d76a6d5Copy full SHA for d76a6d5
root/etc/cont-init.d/30-config
@@ -23,13 +23,13 @@ if [ -f "/usr/bin/find" ] && [ -f "/usr/bin/xargs" ]; then
23
echo "setting permissions::configuration"
24
CORES=$(nproc --all)
25
find /config -maxdepth 4 -mindepth 1 -path /config/workspace -prune -false -o -type d -print0 | \
26
- xargs --max-args=1 --max-procs=$((CORES*2*8)) \
+ xargs -r --max-args=1 --max-procs=$((CORES*2*8)) \
27
chown -R abc:abc
28
29
echo "setting permissions::workspace"
30
chown abc:abc /config/workspace
31
find /config/workspace -maxdepth 4 -mindepth 1 -type d -print0 | \
32
- xargs --max-args=1 --max-procs=$((CORES*2*16)) \
+ xargs -r --max-args=1 --max-procs=$((CORES*2*16)) \
33
34
else
35
chown -R abc:abc \
0 commit comments