I'm porting AOSP to a custom board, and I need /dev/ttymxc4
to be owned by u-blox
so that the GPS driver can use it. (Nothing else needs to use it.)
Ideally, I would like this to be specified in the build process, rather than as I run-time hack.
Where is the best place to manage the ownership of device nodes in /dev
?