From owner-freebsd-current@FreeBSD.ORG Mon Oct 20 03:19:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1573316A4B3; Mon, 20 Oct 2003 03:19:49 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6E4F43FA3; Mon, 20 Oct 2003 03:19:47 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id h9KAJk4b008776; Mon, 20 Oct 2003 12:19:47 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Andreas Klemm From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 20 Oct 2003 12:05:47 +0200." <20031020100547.GA1615@titan.klemm.apsfilter.org> Date: Mon, 20 Oct 2003 12:19:46 +0200 Message-ID: <8775.1066645186@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: USB problem: /dev/ugen* dynamically auto-reconfigures to root:operator 644, so non-root user unable to access USB devices even if wanted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 10:19:49 -0000 In message <20031020100547.GA1615@titan.klemm.apsfilter.org>, Andreas Klemm wri tes: >Hi, > >have severe problems accessing usb devices as non-root user. >In this case a Canon Powershot G5 camera. > >I want to download pics from my digicam using digikam application >as user "andreas". Use the devfs(8) command to request changes the owner or modes to suit your needs. This works a bit like "firewall rules" and when the device is created the modes/owner is set. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.