Update extra/entrypoint.sh

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Sem 2022-04-02 21:39:42 +02:00 committed by GitHub
parent af613e023a
commit 936b73dfa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ files_ownership () {
echo "Directory permission fix succesful! Continuing."
fi
#Check the R/W permissions on the files
# Check the R/W permissions on the files
if [ $(stat -c%a /app/data/* | head -n 1) != 640 ]; then
echo "File permissions incorrect. Attempting to fix."
find /app/data -type f -exec chmod 640 {} \;