From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 08:53:01 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 C0FB937B401 for ; Mon, 16 Jun 2003 08:53:01 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id B22EC43FBF for ; Mon, 16 Jun 2003 08:53:00 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19RwE7-0004Ab-00 for ; Mon, 16 Jun 2003 17:48:59 +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 19Rw68-0003N3-00 for ; Mon, 16 Jun 2003 17:40:44 +0200 From: Jesse Guardiani Date: Mon, 16 Jun 2003 11:43:33 -0400 Organization: WingNET Lines: 38 Message-ID: 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: 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: Mon, 16 Jun 2003 15:53:02 -0000 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. -- 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