After building my container and trying to execute the code I am getting a permission denied error. python3 can't open file /home/app-root/data.py I have to change the user to root. How do I run using RUNID .
Rhel8
docker version 27.3
api version: 1.47
The run script to start my container
export RUNID=$(id -u data):$(id -g data_sync)
inside of the script I can echo and it returns 10:200
does that mean the user or the group do not have execute permissions?
setfacl -m u:data:rw /path to file
setfacl -m g:data_sync:r /path to file
export RUNID=$(id -u data):$(id -g data_sync)
I have also used rwx for both groups and I am still getting permission denied. If i switch back to root I am about to execute the file. But the RUNID user can not.
I started with rw because those are the permissions that it appears root has.