15 Feb
2022
15 Feb
'22
8:14 a.m.
Hello there, I have bind-mounted a local dir inside a container. Once the container is closed the directory permissions are changed to a subuid and I have to run `podman unshare chown -R 0:0 /path/to/dir` manually if I want to do anything with the bind-mounted directory. I was wondering if there is a method whereby a container (or a pod) could be configured to do this automatically? I'd be glad to know about it (or any other ways to get around this minor issue). Thank you.