linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev.rules can't set group or mode?
@ 2006-07-28  4:25 Morgan Read
  2006-07-28 22:12 ` Kay Sievers
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Morgan Read @ 2006-07-28  4:25 UTC (permalink / raw)
  To: linux-hotplug


[-- Attachment #1.1: Type: text/plain, Size: 1406 bytes --]

Hi Folks,

I don't seem to be able to set the mode or group for '/dev/ttyUSB1'

Following Daniel Drake's howto here:
http://www.reactivated.net/writing_udev_rules.html

Without the rule:
'/dev/ttyUSB1' has group=uucp and mode=0660.

With the rule (DRIVER="ark3116", NAME="nokiaca42clone",
SYMLINK="ttyUSB%n", GROUP="uucp", MODE="0666"):
'/dev/nokiaca42clone' and '/dev/ttyUSB1' (a symlink) get made OK, but
with group=root and mode=0600 (not 'uucp' and '0666').

Here's output of udevtest:
[morgan@morgansmachine ~]$ udevtest /class/tty/ttyUSB1
main: looking at device '/class/tty/ttyUSB1' from subsystem 'tty'
udev_rules_get_name: reset symlink list
udev_rules_get_name: add symlink 'ttyUSB1'
udev_rules_get_name: rule applied, 'ttyUSB1' becomes 'nokiaca42clone'
create_node: creating device node '/dev/nokiaca42clone', major = '188',
minor = '1', mode = '0600', uid = '0', gid = '0'
create_node: creating symlink '/dev/ttyUSB1' to 'nokiaca42clone'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: '/lib/udev/udev_run_devd'
main: run: 'socket:/org/freedesktop/hal/udev_event'
main: run: '/sbin/pam_console_apply /dev/nokiaca42clone /dev/ttyUSB1'
[morgan@morgansmachine ~]$

Any ideas?  Any help much appreciated.
Regards,
Morgan.
-- 
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>

fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

[-- Attachment #2: Type: text/plain, Size: 348 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 226 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-08-01 12:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-28  4:25 udev.rules can't set group or mode? Morgan Read
2006-07-28 22:12 ` Kay Sievers
2006-07-29 11:29 ` Morgan Read
2006-07-29 11:47 ` Kay Sievers
2006-07-30  5:02 ` Morgan Read
2006-07-30 10:19 ` Kay Sievers
2006-07-31 21:55 ` Morgan Read
2006-08-01 12:23 ` Kay Sievers

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).