toolbox run --container cont touch /mnt/point/test
touch: cannot touch ... : Read-only file system
while touch /mnt/point/test
does succeed
I think this is new behaviour, my rw filesystem mounted under /mnt/ is suddenly not accessible for writing from inside toolbox. It is not the case that I wouldn’t like the behaviour, if onlyhowever could I control it!
Please how do I do that - choose which filesystems or directories are read-only and read-write for a given container?
The mount point was initially mounted ro, I remounted it rw afterwards. Toolbox still did not work after remounting, so I stopped the container with podman and started it again but it still could not write a file, so I assumed toolbox must be the cause. I rebooted (and rpm-ostree updated) my system and the container now works again the same way.
Out of curiosity, could I restrict access from toolbox on a per-container basis?