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

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e7d2b922-79ad-4c05-b671-15de590e6757%40googlegroups.com.

Reply via email to