AnsweredAssumed Answered

Change owner and group of ttymxc0

Question asked by Pierre-Olivier DI GIUSEPPE on May 6, 2019
Latest reply on May 7, 2019 by Bio_TICFSL

Hi guys,

 

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 ?

Pierre-Olivier

Outcomes