From mboxrd@z Thu Jan 1 00:00:00 1970 From: Morgan Read Date: Fri, 28 Jul 2006 04:25:48 +0000 Subject: udev.rules can't set group or mode? Message-Id: MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0931476680==" List-Id: To: linux-hotplug@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0931476680== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF6222B76C0CC4B7FA27F5D7E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF6222B76C0CC4B7FA27F5D7E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=3Duucp and mode=3D0660. With the rule (DRIVER=3D"ark3116", NAME=3D"nokiaca42clone", SYMLINK=3D"ttyUSB%n", GROUP=3D"uucp", MODE=3D"0666"): '/dev/nokiaca42clone' and '/dev/ttyUSB1' (a symlink) get made OK, but with group=3Droot and mode=3D0600 (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 =3D '188',= minor =3D '1', mode =3D '0600', uid =3D '0', gid =3D '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. --=20 Morgan Read NEW ZEALAND fedora: Freedom Forever! http://fedoraproject.org/wiki/Overview --------------enigF6222B76C0CC4B7FA27F5D7E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFEyZHTp/Qnh6YenUARAh8wAKCWW7JoKvP3M30S1KYYQgSAQeRMVACg633e jFHjXBI6PwFppIsFxt8+g5U= =YhYg -----END PGP SIGNATURE----- --------------enigF6222B76C0CC4B7FA27F5D7E-- --===============0931476680== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --===============0931476680== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0931476680==--