mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-17 22:50:31 +00: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:
1 parent
0ba7031a83
commit
0be0c8f665
1 file changed
+1
@@ -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