mirror of
https://github.com/linuxserver/docker-phpmyadmin.git
synced 2026-02-20 08:40:43 +08:00
Only chown the bits of /app we need to
This commit is contained in:
parent
2bd479595a
commit
cfbf822462
@ -1,6 +1,8 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /config/phpmyadmin
|
||||
mkdir -p \
|
||||
/config/phpmyadmin \
|
||||
/app/www/public/tmp
|
||||
|
||||
if [ ! -f /config/phpmyadmin/config.secret.inc.php ]; then
|
||||
cat > /config/phpmyadmin/config.secret.inc.php <<EOT
|
||||
@ -18,6 +20,5 @@ if [ ! -f /config/phpmyadmin/config.inc.php ]; then
|
||||
fi
|
||||
|
||||
lsiown -R abc:abc \
|
||||
/config
|
||||
|
||||
find /app -print0 | xargs -P "$(nproc)" -I {} -0 lsiown abc:abc {}
|
||||
/config \
|
||||
/app/www/public/tmp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user