From owner-freebsd-questions@FreeBSD.ORG Tue Jun 17 09:02:05 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F34037B419 for ; Tue, 17 Jun 2003 09:02:03 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B3F343F3F for ; Tue, 17 Jun 2003 09:02:01 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19SIrR-0006iW-00 for ; Tue, 17 Jun 2003 17:59:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19SIpB-0006WZ-00 for ; Tue, 17 Jun 2003 17:56:45 +0200 From: Jesse Guardiani Date: Tue, 17 Jun 2003 11:56:46 -0400 Organization: WingNET Lines: 46 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: devfs problem (was: Re: 5.x & usb & gphoto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 16:02:06 -0000 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