From b665b78454b4d4809c90f0583d8491b6868af279 Mon Sep 17 00:00:00 2001 From: Bernard Potocki Date: Mon, 2 Jun 2014 15:06:02 +0200 Subject: [PATCH] Make container_envoriments.sh and .json readable by other users Prevents bug when loading env variables on non-root user login. --- image/system_services.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/system_services.sh b/image/system_services.sh index d48efe3..236f31b 100755 --- a/image/system_services.sh +++ b/image/system_services.sh @@ -10,7 +10,7 @@ mkdir -p /etc/container_environment touch /etc/container_environment.sh touch /etc/container_environment.json chmod 700 /etc/container_environment -chmod 600 /etc/container_environment.sh /etc/container_environment.json +chmod 644 /etc/container_environment.sh /etc/container_environment.json ln -s /etc/container_environment.sh /etc/profile.d/ ## Install runit.