linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix up 'broken' permissions
@ 2005-06-02 22:19 Daniel Drake
  0 siblings, 0 replies; only message in thread
From: Daniel Drake @ 2005-06-02 22:19 UTC (permalink / raw)
  To: linux-hotplug

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

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.


[-- Attachment #2: permissions-fix.patch --]
[-- Type: text/x-patch, Size: 853 bytes --]

--- 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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-02 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-02 22:19 [PATCH] Fix up 'broken' permissions Daniel Drake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).