Re: usb /proc/file permissions control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sweet! i think this is just what i am looking for!!! thx VERY Much!!

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.

Matt Flaschen


--
Jack Craig

Build Team

Danger
3101 Park Ave.
Palo Alto, CA. 94306

Phone:     650-543-6315
SideKick:  650-283-9660
Email:     jcraig@xxxxxxxxxx
AIM:       dangerjackcraig

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux