From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Drake Date: Thu, 02 Jun 2005 22:19:08 +0000 Subject: [PATCH] Fix up 'broken' permissions Message-Id: <429F85DC.7060503@gentoo.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------040804000102060400080903" List-Id: To: linux-hotplug@vger.kernel.org This is a multi-part message in MIME format. --------------040804000102060400080903 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm not sure whether this is intentional, but 2 rules specify a group and permissions of 0600 (so the group change effectively does nothing, unless the permissions were to be changed). The one dealing with usb serial is most important here.. Many palm-style devices use ttyUSB nodes to communicate with the host computer. Currently, the user can't use the nodes, even when in the tty group. --------------040804000102060400080903 Content-Type: text/x-patch; name="permissions-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="permissions-fix.patch" --- udev-058/etc/udev/gentoo/udev.rules.orig 2005-06-02 23:06:07.000000000 +0100 +++ udev-058/etc/udev/gentoo/udev.rules 2005-06-02 23:06:26.000000000 +0100 @@ -137,11 +137,11 @@ KERNEL="sequencer", NAME="sound/%k", SY KERNEL="sequencer[0-9]*", NAME="sound/%k", SYMLINK="%k", GROUP="audio" # tty devices -KERNEL="console", NAME="%k", GROUP="tty", MODE="0600" +KERNEL="console", NAME="%k", GROUP="tty", MODE="0660" KERNEL="tty", NAME="%k", GROUP="tty", MODE="0666" KERNEL="tty[0-9]*", NAME="vc/%n", SYMLINK="%k", GROUP="tty" KERNEL="ttyS[0-9]*", NAME="tts/%n", SYMLINK="%k", GROUP="tty" -KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="tty", MODE="0600" +KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP="tty", MODE="0660" KERNEL="ippp0", NAME="%k", GROUP="tty" KERNEL="isdn*", NAME="%k", GROUP="tty" KERNEL="dcbri*", NAME="%k", GROUP="tty" --------------040804000102060400080903-- ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel