let me try to explain another way. The mounted device ownership is ok. The issue is on the parent folder. For instance, let’s say I’m adding the following device:
lxc config device add test-container app disk source=/home/gabriel/a/b/c/d path=/home/ubuntu/a/b/c/d
d/ folder ownership is ok. (nobody:nogroup)
But ubuntu/, a/, b/ and c/ are now owned by root:root, when it would be ubuntu:ubuntu.
Actually, I don’t know about a/, b/ and c/. But ubuntu/ definitely should be owned by ubuntu:ubuntu, right?