Hi,
I’m new to the containers overall. I’m trying to open a new file in my python container to write data inside it. When I run the debug app, I have no issues - but when I try to deploy the container and then run it as a release (using the Torizon Extension in VSCode) I get a permission error when I try opening the file. Just looking at the dockerfile.debug and dockerfile.release created by the extension I can see that the debug file in its 3rd line has:
ARG SSHUSERNAME=torizon
that the release file doesn’t have.
My guess is that the release version probably runs the application as root and not as torizon user, but I don’t wanna waste my time on some improvisational solution, I’m pretty sure there is a straight-forward solution for file permissions in containers that I just don’t know anything about.
Thanks in advance!