From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 12:05:13 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 43A8B16A4CE for ; Fri, 5 Dec 2003 12:05:13 -0800 (PST) Received: from ms-smtp-01.nyroc.rr.com (ms-smtp-01-qfe0.nyroc.rr.com [24.24.2.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBAA43F85 for ; Fri, 5 Dec 2003 12:05:12 -0800 (PST) (envelope-from pogrose@twcny.rr.com) Received: from charon.paradigm-design.org (syr-24-59-209-149.twcny.rr.com [24.59.209.149])hB5K59QE014090 for ; Fri, 5 Dec 2003 15:05:09 -0500 (EST) Date: Fri, 5 Dec 2003 15:05:09 -0500 From: Eric Pogroski To: freebsd-questions@freebsd.org Message-Id: <20031205150509.6a086241.pogrose@twcny.rr.com> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: devfs.conf silliness?? 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: Fri, 05 Dec 2003 20:05:13 -0000 Hi all. can someone please explain this to me: /etc/devfs.conf # examples, blah # my devices/perms/etc perm mdctl 0660 own mctl user:operator [/code] I can create md* without any issues, but if I add this: [code] perm md* 0660 own md* user:operator --OR-- perm md0 0660 own md0 user:operator [/code] it defaults to root:operator when I do say mdconfig -a -t vnode -f example.iso , and I'm unable to mount it without either becoming root, or mounting it with sudo, which I thought was the point of devfs.conf in the first place (to set userland permissions on devices so that non root users could mount/dismount them if needed)? is thier some undocumented .conf or sysctl variable that I'm just not finding, or is devfs.conf fundamentally broken for 'dynamic' devices (ie: it can't understand wildcards, or even handle me plugging in or creating another device, i.e:USB keyfob , or mounting a ISO image, while the machine is up and running)? thanks!