mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2025-04-15 06:09:30 +02:00
config: do not corrupt permissions inside workspace
This commit is contained in:
parent
b419ebcce8
commit
a5b5c9395e
@ -28,7 +28,7 @@ if [ -f "/usr/bin/find" ] && [ -f "/usr/bin/xargs" ]; then
|
||||
|
||||
# Split workload between config and workspace
|
||||
echo "setting permissions::configuration"
|
||||
find /config -path /config/workspace -prune -false -o -type d -print0 | \
|
||||
find /config -mindepth 1 -prune -false -o -type d -not -path /config/workspace -print0 | \
|
||||
xargs --null -r --max-args=1 --max-procs=$((CORES*2*8)) \
|
||||
chown -R abc:abc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user