Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 11:56:46 -0400
From:      Jesse Guardiani <jesse@wingnet.net>
To:        freebsd-questions@freebsd.org
Subject:   devfs problem (was: Re: 5.x & usb & gphoto
Message-ID:  <bcndnt$nrl$1@main.gmane.org>
References:  <bckodq$ckh$1@main.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jesse Guardiani wrote:

> 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@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.
> 

Anyone? Anyone at all? Surely someone here has a wee bit of
experience with devfs...



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bcndnt$nrl$1>