On 1/8/06, Alex Bennee <[EMAIL PROTECTED]> wrote: > I've been having trouble getting udev to create stuff with the right > permissions. The latest is with my phone which has a USB Mass Storrage > Interface. I've added this line to my 10-local.rules: > > # My Phone > BUS="usb", SYSFS{interface}="Sony Erics Memory Stick", > KERNEL="sd?1",NAME="%k", SYMLINK="phonemem", GROUP="users", MODE="0660"
You should be using "==" for the comparisons. "=" is an assignment. You can also use ":=" to disallow changes by later rules (see the current udev man page). So something like this should work better for you: BUS=="usb", SYSFS{interface}=="Sony Erics Memory Stick", KERNEL=="sd?1",NAME="%k", SYMLINK="phonemem", GROUP:="users", MODE:="0660" -Richard -- gentoo-user@gentoo.org mailing list