>>> On 9/5/2013 at 01:10 PM, Neale Ferguson <[email protected]> wrote: 
> The only thing I need to find out is how to specify the permissions
> for the device as it's created or do I have to issue a call to chmod using
> what I believe will be the device name.

I found an example in /lib/udev/rules.d/50-udev-default.rules:

# hplip and cups 1.4+ use raw USB devices, so permissions should be similar to
# the ones from the old usblp kernel module
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="", 
IMPORT{program}="u
sb_id --export %p"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", 
ENV{ID_USB_INTERFACES}==":0701*:", GROUP="lp",
 MODE="0664"


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to