No, it is located in the /usr/share/dbus-1/system.d folder.
Does it not check a secondary location? Otherwise it’d be hard to customize that location in the filesystem.
Yes, I can get inside the container but I am unable to find the application files copied over to it by the VSCode extension. I am using the default dockerfile.debug from the apollox extension but I am unable to find a location where the application files are being copied into the container.
This is because for debug the application is dynamically copied to the container at the time of debug. If you’re trying to do this in the debug container, then start the debug process from the container, put a breakpoint somewhere so it will pause. Then on the target device while the debug container is still running get a shell as a root inside this container with docker exec
. Your application should be in /home/torizon
, you can then manually execute it from there.
Ok I copied your code exactly as you showed it here, compiled in a container, executed it as root and it worked. As I said you’ve been executing as a non-root user which is why it fails. If you execute it as root it works, for debug our extension runs the debugger as the torizon user which is why you get this behavior during debug.
would I have to deal with torizoncore builder to create/set permissions for this folder when it is to be production ready?
Your files are in /home
which can’t be customized by TorizonCore Builder for technical reasons, if you move these files/directories to /etc
then they could be customized. That said I’m not sure why you need to change the permissions on these. If I bind-mount a folder from the home directory into the container and create a file in it I have no issues, this is as root or even non-root.
Are there any video/animated tutorials for a novice like me
Whatever we have in our documentation is what we have, some articles may have videos, some may not.
Best Regards,
Jeremias