Python 3.8 image home directory Permission Denied
Summary
Cannot access the home (~) directory due to Permission Denied notification.
Steps to reproduce
docker run --rm -it registry1.dso.mil/ironbank/opensource/python:v3.8 /bin/bash cd /home/python
docker run --rm -it registry1.dso.mil/ironbank/opensource/python:v3.8 /bin/sh cd /home/python
What is the current bug behavior?
bash: cd: /home/python: Permission denied
sh: cd: /home/python: Not a directory
What is the expected correct behavior?
Changing to the home directory with permissions and ownership set to the current user.
Relevant logs and/or screenshots
Possible fixes
It is unclear how the user account was created without a home directory. This seems to have also created a related issue where user space bin directories are not on $PATH, likely because they do not exist at the Iron Bank build time.
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info