mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-09-24 20:40:27 +01:00
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:
@@ -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:]')
|
||||
|
||||
Reference in New Issue
Block a user