Permission denied to run commands within container running inside k8s

kubectl exec -n namespace -it connect-0 – /bin/bash

Got to the pod, but can’t run ls command. User is appuser.

Can you be a bit more specific please? When you say “can’t run”, do you get an error?

I get this error message after I ssh into a running CP pod and then try the ls command

ls: cannot open directory ‘.’: Permission denied

I am running Confluent Platform Enterprise using CFK in Kubernetes

did you check the current working directory?
what about
ls /tmp

1 Like

I am able to run ls /tmp, but I get a Permission Denied when I run ls /home/appuser

ok I see

so what would like to do?
check the config?