Improve nextcloud loadingtimes by checking for group (#3599)

This commit is contained in:
Kjeld Schouten-Lebbing
2022-08-27 23:28:03 +02:00
committed by GitHub
parent 154974527e
commit f81838aefc
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ sources:
- https://github.com/nextcloud/docker
- https://github.com/nextcloud/helm
type: application
version: 15.3.0
version: 15.3.1
annotations:
truecharts.org/catagories: |
- cloud
+7 -1
View File
@@ -109,7 +109,13 @@ initContainers:
nfs4_setfacl -R -a A:g:33:RWX "/var/www/html/data"
else
echo "No NFSv4 ACLs detected, trying to override permissions using chown/chmod..."
chown -R :33 "/var/www/html/data"
echo "checking ownership..."
if [ $(stat -c %g .) -eq 33 ]; then
echo "Ownership already set to 33, skipping..."
else
echo "Changing ownership to group 33..."
chown -R :33 "/var/www/html/data"
fi
chmod 770 /var/www/html/data
fi
EOF