Re: usb /proc/file permissions control
- From: Matthew Flaschen <matthew.flaschen@xxxxxxxxxx>
- Date: Fri, 31 Aug 2007 15:58:16 -0400
jack craig wrote:
hi matthew,
one question on the below?
Matthew Flaschen wrote:
jack craig wrote:what is the details of this group addition? this isnt the same group as
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.
/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
No, the first line should be (uncommented):
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="hiptop_rules_end"
SYSFS{idVendor}=="0da0", SYSFS{idProduct}=="1002", GROUP="hiptopusers",
MODE="0666"
Use 0660.
and need next the where/how to create and join the group. tia, jackc...
$ groups jack
This is just to make sure you don't forget your groups if something goes
wrong.
# groupadd hiptopusers
Creates the group
# usermod -a -G hiptopusers jack
Adds jack to the hiptopusers group
Then, restart the computer.
Let me know how it goes.
Matt Flaschen
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- Follow-Ups:
- Re: usb /proc/file permissions control
- From: jack craig
- Re: usb /proc/file permissions control
- References:
- usb /proc/file permissions control
- From: jack craig
- Re: usb /proc/file permissions control
- From: Matthew Flaschen
- Re: usb /proc/file permissions control
- From: jack craig
- usb /proc/file permissions control
- Prev by Date: Re: OT : Approximate / fast math libraries ?
- Next by Date: Re: DD not working--SUCCESS!
- Previous by thread: Re: usb /proc/file permissions control
- Next by thread: Re: usb /proc/file permissions control
- Index(es):