Fix cwa-book-downloader Permission Issues (#143)

Fix permission issues that occur if user forgets to create the
`cwa-book-downloader` folder before creating the docker container since
docker makes the directory with root ownership.
This commit is contained in:
Jacob Wolfe
2025-04-19 00:57:34 -04:00
committed by GitHub
parent 0ba7031a83
commit 0be0c8f665
+1
View File
@@ -49,6 +49,7 @@ change_ownership() {
change_ownership /app
change_ownership /var/log/cwa-book-downloader
change_ownership /cwa-book-ingest
change_ownership /tmp/cwa-book-downloader
# Set the command to run based on the environment
is_prod=$(echo "$APP_ENV" | tr '[:upper:]' '[:lower:]')