1 |
On 1/8/06, Alex Bennee <alex@××××××.com> wrote: |
2 |
> I've been having trouble getting udev to create stuff with the right |
3 |
> permissions. The latest is with my phone which has a USB Mass Storrage |
4 |
> Interface. I've added this line to my 10-local.rules: |
5 |
> |
6 |
> # My Phone |
7 |
> BUS="usb", SYSFS{interface}="Sony Erics Memory Stick", |
8 |
> KERNEL="sd?1",NAME="%k", SYMLINK="phonemem", GROUP="users", MODE="0660" |
9 |
|
10 |
You should be using "==" for the comparisons. "=" is an assignment. |
11 |
You can also use ":=" to disallow changes by later rules (see the |
12 |
current udev man page). So something like this should work better for |
13 |
you: |
14 |
|
15 |
BUS=="usb", SYSFS{interface}=="Sony Erics Memory Stick", |
16 |
KERNEL=="sd?1",NAME="%k", SYMLINK="phonemem", GROUP:="users", MODE:="0660" |
17 |
|
18 |
-Richard |
19 |
|
20 |
-- |
21 |
gentoo-user@g.o mailing list |