Merge pull request #59 from linuxserver/perm

ensure user config file perms are correct
This commit is contained in:
aptalca 2024-09-14 10:55:27 -04:00 committed by GitHub
commit 111a09eecf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -310,6 +310,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **14.09.24:** - Ensure user config files have the right permissions.
* **09.09.24:** - In COPS 3.x, the config_local.php is being moved over to config/local.php and this container will automatically migrate it. Existing users should verify: config_local.php and/or config/local.php - define $config['cops_kepubify_path'] if they want to use it
* **28.08.24:** - Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77
* **24.06.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.

View File

@ -66,6 +66,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "14.09.24:", desc: "Ensure user config files have the right permissions." }
- { date: "09.09.24:", desc: "In COPS 3.x, the config_local.php is being moved over to config/local.php and this container will automatically migrate it. Existing users should verify: config_local.php and/or config/local.php - define $config['cops_kepubify_path'] if they want to use it" }
- { date: "28.08.24:", desc: "Add kepubify tool to update metadata for Kobo - see mikespub-org/seblucas-cops#77" }
- { date: "24.06.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings." }

View File

@ -34,7 +34,8 @@ fi
# copy extra user-profiles
for f in /config/config/local*.php; do
cp "$f" /app/www/public/config/
cp "${f}" /app/www/public/config/
chmod +r "/app/www/public/config/$(basename ${f})"
done
# permissions