commit 36f5f922b3343aac18973d30e645e9b3d7a875ce
parent 2e89cdd618714e8e5c6c672ee8dbdd2e3f0d8e0e
Author: St John Karp <contact@stjo.hn>
Date: Fri, 3 Jun 2022 14:53:21 -0400
smdev: Make all tty* devices readable/writable by the tty group
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core/smdev/build b/core/smdev/build
@@ -6,6 +6,7 @@ sed 's/\/usr\/local/\/usr/' config.mk > _
mv _ config.mk
sed -e '/fuse/a \\t{ "hidraw[0-9]", "root", "plugdev", 0660, NULL, NULL },' \
-e '/fuse/a \\t{ "hiddev[0-9]", "root", "plugdev", 0660, NULL, NULL },' \
+ -e 's/"tty[0-9]", "root", "root", 0600,/"tty[0-9]", "root", "tty", 0660,/' \
config.def.h > _
mv _ config.def.h