From owner-freebsd-questions@FreeBSD.ORG Wed Aug 25 19:40:01 2004 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 5AA8716A4CE for ; Wed, 25 Aug 2004 19:40:01 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4972043D3F for ; Wed, 25 Aug 2004 19:40:01 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 99BDCFD070 for ; Wed, 25 Aug 2004 12:40:00 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00592-01 for ; Wed, 25 Aug 2004 12:39:59 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id C20EBFD026 for ; Wed, 25 Aug 2004 12:39:59 -0700 (PDT) From: Sean McNeil To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1093462799.2172.5.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 25 Aug 2004 12:39:59 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com Subject: usb device permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 19:40:01 -0000 Hi, I'm using -CURRENT and looking for an easy way to get it to change the permissions to a usb device when plugged in. I know I can change things on startup with devfs.conf, but what do I do for usb? It is a umass device that creates da0 and da0s. I've tried to put in usbd.conf device "Storage" device "da.*" attach "/bin/chmod 0666 /dev/${DEVNAME}" but no joy. I've also tried a rule for devfs by creating /etc/devfs.rules with add path "da*" mode 0666 same result. Could someone help me figure this one out? Thanks, Sean