udev setting /proc/bus/ permissions ?

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

 



I've got a special piece of USB hardware that doesn't use a conventional
USB driver.  The usb device creates device files in /dev like:

ls -a usb3*
crw------- 1 root  root  442, 4096 Jan 19 14:34 usbdev3.1_ep00
crw------- 1 root  root  442, 4096 Jan 19 14:34 usbdev3.1_ep81

It also creates files in the /proc/bus/usb directory. 

The thing about the driver for this device is that it needs access to
the /proc streams.  Being that I run the driver as a regular user, I
need to change the permissions of the /proc streams. 

I know that I can set the permissions of the /dev devices using a udev
rule like:

SYSFS{idProduct}=="0003", SYSFS{idVendor}=="15ba", MODE="640",
OWNER="xxx", GROUP="users"

But how do I set the permission of the /proc streams automatically ?

Thanks. 

-- 
Kim Lux,  Diesel Research Inc.


[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