[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: usb /proc/file permissions control
- From: jack craig <jcraig danger com>
- To: For users of Fedora <fedora-list redhat com>
- Subject: Re: usb /proc/file permissions control
- Date: Fri, 31 Aug 2007 11:50:00 -0700
hi matthew,
one question on the below?
Matthew Flaschen wrote:
jack craig wrote:
i want these files created with 666 just for the devil of it... ;-)
A better approach is to give access to a group, then add yourself to the
group. For example, I use the following code in a udev file
(/etc/udev/rules.d/60-cell.rules):
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="cell_rules_end"
# LG Phone
SYSFS{idVendor}=="1004", SYSFS{idProduct}=="6000", GROUP="cellusers",
MODE="0660"
LABEL="cell_rules_end"
Of course, you'll need to find the idVendor and idProduct or other
identifying characteristics of the device (and change the names to make
them more appropriate).
Then, add yourself to the cell (or whatever) group.
what is the details of this group addition? this isnt the same group as
/etc/group is it?
i have created a file for my hiptop as ...
# pass all events to the hiptop access
SUBSYSTEM!="usb_hiptop", ACTION!="add", GOTO="hiptop_rules_end"
# Hiptop/sidekick
SYSFS{idVendor}=="0da0", SYSFS{idProduct}=="1002", GROUP="hiptopusers",
MODE="0666"
LABEL="hiptop_rules_end"
and need next the where/how to create and join the group. tia, jackc...
Matt Flaschen
--
Jack Craig
Build Team
Danger
3101 Park Ave.
Palo Alto, CA. 94306
Phone: 650-543-6315
SideKick: 650-283-9660
Email: jcraig danger com
AIM: dangerjackcraig
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]