mirror of
/repos/baseimage-docker.git
synced 2025-12-31 08:11:29 +01:00
Make container_envoriments.sh and .json readable by other users
Prevents bug when loading env variables on non-root user login.
This commit is contained in:
parent
1a6c43b8d7
commit
b665b78454
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user