I’m going through the Tutorial steps and I’m up to #3, Store a Secret in Conjur. I am logged on as root. When I try to cat the my_app_data file to get “Dave’s” API key, I get this –
@AdamX@AndrewCopeland
Did you manage to find the fix? I’m getting the same issue.
I even SSH’ed (as root) into the docker using (docker exec -it) but getting the same permission denied error to enter in the policy/ directory.
drwxr-xr-x. 2 root root 24 Mar 28 20:31 policy/
root@9ba67574cd8a:/policy# ls
ls: cannot open directory ‘.’: Permission denied
If the issue persists, it might be related to SELinux.
You can check SELinux status using sestatus.
If you are using SELinux, you would need to update your (docker-compose.yml file) to add the ‘Z’ label in the client part.
You can find details about that flag here
In your case it would mean to update: line 72 from - ./conf/policy:/policy to - ./conf/policy:/policy:Z