dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
65878a
From 01f17a96d58033e281e52483d1afb73362c98aa8 Mon Sep 17 00:00:00 2001
65878a
From: Lukas Nykryn <lnykryn@redhat.com>
65878a
Date: Thu, 27 Feb 2014 11:19:09 +0100
65878a
Subject: [PATCH] udev/rules: setup tty permissions and group for sclp_line,
65878a
 ttysclp and 3270/tty
65878a
65878a
---
65878a
 rules/50-udev-default.rules | 3 +++
65878a
 1 file changed, 3 insertions(+)
65878a
65878a
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
65878a
index 679dfdf..0bccf67 100644
65878a
--- a/rules/50-udev-default.rules
65878a
+++ b/rules/50-udev-default.rules
65878a
@@ -15,6 +15,9 @@ ACTION!="add", GOTO="default_permissions_end"
65878a
 SUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666"
65878a
 SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666"
65878a
 SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
65878a
+SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620"
65878a
+SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620"
65878a
+SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620"
65878a
 SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty"
65878a
 KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout"
65878a