Page 1 of 1

Permissions of /dev/ttyUSB0 get reset to 620

Posted: 2018/02/09 12:30:46
by Thilo
Hey all!
I successfully created a udev rule which sets the permissions of /dev/ttyUSB0 to 666 (for testing).
Even udevadm test tells me that the mode is 666

But after a short while, lower than a minute of waiting, the permissions get reset to 0620.
What service/daemon except udev does change the permission of such a file?

Any ideas?

Cheers,
Thilo

Re: Permissions of /dev/ttyUSB0 get reset to 620

Posted: 2018/02/09 12:58:17
by Thilo
It is set via systemd service getty.

So if I have start getty@ttyUSB0, the permission get set to 620 ...

Cheers,
Thilo