Hi Robert, thanks for the answer!
In my systemd service I wait for the files, then change the ownerchip like
ExecStartPost=/bin/dash -c 'until [ -e /dev/uio5 ] ; do sleep 1 ; done ; /bin/chown root:pruio /dev/uio5'
This works, I checked it by the ls command output
ExecStartPost=/bin/dash -c 'ls -l /dev/uio5 > /tmp/x ; sleep 1'
ExecStartPost=/bin/dash -c 'for i in 1 2 3 4 5 6 7 8 9 ; do ls -l /dev/uio5 >> /tmp/x ; sleep 1 ; done'
The group is correct for six seconds and then changes back to root:root !
Does the kernel driver set the ownership twice now? Or is there any action from the device tree?
Any help is much appreciated.
Regards