Update extra/entrypoint.sh

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

View file

@ -16,7 +16,7 @@ files_ownership () {
echo "Directory permissions incorrect, attempting to fix."
find /app/data -type d -exec chmod 770 {} \;
#Re-run the check
# Re-run the check
if [ $(stat -c%a /app/data) -ne 770 ]; then
echo "ERROR: Failed to set file permissions. Please run 'sudo find /path/to/container/volume -type d chmod 770 {} \;' to resolve."
exit 1