base-files/hotplug: fix dedicated group for tty devices
authorMichael Heimpold <mhei@heimpold.de>
Tue, 2 Apr 2019 19:48:11 +0000 (21:48 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 4 Apr 2019 15:09:40 +0000 (17:09 +0200)
commit6e060bd62c85a797d9390effb5dc1387faa467c2
tree763a43543efc2db86ffabf5a027dfc375978246f
parent8dacd75ea8869b0616b6be1a2156dc5e8c9eac9e
base-files/hotplug: fix dedicated group for tty devices

Commit 124ab1dc0a and 5523ee3459 introduced the assignment of the
group "tty" to /dev/tty* devices in order to support unprivileged
user access to serial devices.

However, due to an improperly rebased commit this feature broke.

This patch restores the lost hunk in hotplug.json file to
re-introduce this feature and also renames the existing "tty" group
to "dialout" as this is the more typical name for such a group
on desktop systems.

Fixes: 5209cfa534 ("procd: fix hotplug.json syntax")
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Jo-Philipp Wich <jo@mein.io>
package/base-files/files/etc/group
package/system/procd/files/hotplug.json