I'm working with Buildroot and an iMX6-based custom board.
I'm trying to change the owner and group of /dev/ttymxc0 and /dev/ttymxc1 using udev rules. Here is the rule :
KERNEL=="ttymxc[0-1]", SUBSYSTEM=="tty", ACTION=="add", OWNER="newowner", GROUP="newgroup"
It does work perfectly for ttymxc1, but ttymxc0 remains with ownership root/root.
I precise that Kernel commandline tells console=null, then ttymxc0 is not reserved to spawn a tty.
Do you know why there is this strange behavior ?