Permissions of /dev/ttyUSB0 get reset to 620

General support questions
Post Reply
Thilo
Posts: 3
Joined: 2011/07/14 09:50:40

Permissions of /dev/ttyUSB0 get reset to 620

Post by Thilo » 2018/02/09 12:30:46

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

Thilo
Posts: 3
Joined: 2011/07/14 09:50:40

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

Post by Thilo » 2018/02/09 12:58:17

It is set via systemd service getty.

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

Cheers,
Thilo

Post Reply