Closed timo-a closed 2 months ago
When mapping the volume, I'm pretty sure you need to append either :z or :Z to the mapping in order for the user IDs to be inherited correctly. In other words:
-v /home/me/folder/where/my/file/is:/documents:z
Thanks! With :z
appended it works.
It says so in the Readme, but I mistakenly assumed SELinux to be a distribution and thus not applicable in my case.
Glad to help! In my experience, it's always safe to append :z and you should always use it unless there is a specific reason not to.
As I try to execute the podman commands as instructed in the Readme I get permission denied:
In fact it seems I can't do anything in this shell:
ls
givesls: can't open '.': Permission denied
,sudo
is not found andsu
doesn't do anything other than removing the containers hash from the prompt.I tried putting
sudo
in front of thepodman
command but it did not make a difference. I tried adding-u $(id -u):$(id -g)
to the arguments, but that did not make a difference either.