containers: the single_container_test shows this error "Permission denied" when tries to create the directory "/var/lib/openqa/share/factory/tmp"
Thanks to a previous issue #95179 we could see in the logs that the webui has permissions problems on the "factory" directory
The reason is because the directory has the root user (in the container) but the webui is executed with the geekotest user.
- AC 1: webui can create the needed directories in /var/lib/openqa/share/factory
- Currently if the container doesn't fail the logs are not be printed, so print "docker logs openqa_webui" the logs before destroy the container
- Check if there are other directories that require to be created from the webui and can be created
- Description updated (diff)
One suggested solution was this: https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/71 but it was rejected because rwx permissions for every user is too open.
So I created this new PR https://github.com/os-autoinst/openQA/pull/4056 that after some tests is failing on multiple_container_webui test (https://openqa.opensuse.org/tests/1848766#step/multiple_container_webui/1) but I still don't have the reason.