From a601ba4d0a72ebb7b65c390403399bf6797ba61e Mon Sep 17 00:00:00 2001 From: Patrick Double Date: Thu, 16 Jul 2015 16:34:12 -0500 Subject: [PATCH] Set config permissions --- init/90_uid_gid_fix.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/90_uid_gid_fix.sh b/init/90_uid_gid_fix.sh index 1bd486e..ee2fb40 100644 --- a/init/90_uid_gid_fix.sh +++ b/init/90_uid_gid_fix.sh @@ -2,6 +2,9 @@ if [ "$(id -u abc)" != "$PUID" ]; then usermod -u "$PUID" abc ; fi if [ "$(id -g abc)" != "$PGID" ]; then groupmod -o -g "$PGID" abc ; fi +chown -R abc:abc /config +chmod ug+rw /config +find /config -type d -print0 | xargs -0 chmod ug+rwx echo " -----------------------------------