From 60e6b0573eda544ba59cbc8b6cc3d5c6d1c083fc Mon Sep 17 00:00:00 2001 From: aptalca Date: Thu, 6 Feb 2020 14:23:04 -0500 Subject: [PATCH] update readme --- README.md | 1 + readme-vars.yml | 1 + root/etc/cont-init.d/30-config | 18 +++++++++--------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index fc28e0e..cbfc8d5 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **06.02.19:** - Fix permissions. * **19.12.19:** - Rebasing to alpine 3.11. * **28.06.19:** - Rebasing to alpine 3.10. * **23.03.19:** - Switching to new Base images, shift to arm32v7 tag. diff --git a/readme-vars.yml b/readme-vars.yml index 4fc16ed..7fa512d 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -46,6 +46,7 @@ app_setup_block: | # changelog changelogs: + - { date: "06.02.19:", desc: "Fix permissions." } - { date: "19.12.19:", desc: "Rebasing to alpine 3.11." } - { date: "28.06.19:", desc: "Rebasing to alpine 3.10." } - { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." } diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index aea6794..fc222a8 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -2,24 +2,24 @@ # make our folders mkdir -p \ - /var/cache/ddclient \ - /var/run/ddclient + /var/cache/ddclient \ + /var/run/ddclient # copy default config if not present in /config [[ ! -e /config/ddclient.conf ]] && \ - cp /defaults/ddclient.conf /config + cp /defaults/ddclient.conf /config # copy config from /config to root cp /config/ddclient.conf /ddclient.conf # permissions chown -R abc:abc \ - /config \ - /var/cache/ddclient \ - /var/run/ddclient \ - /ddclient.conf + /config \ + /var/cache/ddclient \ + /var/run/ddclient \ + /ddclient.conf chmod 700 /config chmod 600 \ - /config/* \ - /ddclient.conf + /config/* \ + /ddclient.conf