From: Daniel Drake <dsd@gentoo.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] Fix up 'broken' permissions
Date: Thu, 02 Jun 2005 22:19:08 +0000 [thread overview]
Message-ID: <429F85DC.7060503@gentoo.org> (raw)
[-- 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"
reply other threads:[~2005-06-02 22:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=429F85DC.7060503@gentoo.org \
--to=dsd@gentoo.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).