mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-15 17:06:48 +02:00
Update extra/entrypoint.sh
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
b6b5f2c2b0
commit
af613e023a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue