5.x & usb & gphoto

Jesse Guardiani jesse at wingnet.net
Mon Jun 16 08:53:02 PDT 2003

Howdy list,

I'm trying to get gphoto2 to connect to my digital
camera as a NON root user. (it works fine when root,
but that's a security risk)

Under 4.x, all I had to do was make the appropriate
USB devices group readable and writeable, then add
users to the appropriate group (operator, usually).

Under 5.x, I'm having more trouble. The /dev/usb*
devices have the appropriate group permissions out
of the box, but I apparently also need group write
permission to the /dev/ugen* devices.

Here are the ugen permissions when my camera is attached
to the usb port:

[11:40]jesse at trevarthan:[/etc]# ls -al /dev/ugen*
crw-r--r--  1 root  operator  114,   0 Jun 13 09:07 /dev/ugen0
crw-r--r--  1 root  operator  114,   1 Jun 13 09:07 /dev/ugen0.1
crw-r--r--  1 root  operator  114,   2 Jun 13 09:07 /dev/ugen0.2

The problem is that I'm unfamiliar with devfs, and
I can't figure out how to get the ugen devices to
appear with group writable permissions.

Any help appreciated! Thanks.

Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)

More information about the freebsd-questions mailing list