From owner-freebsd-emulation@FreeBSD.ORG Tue Sep 10 23:58:50 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 648579BB; Tue, 10 Sep 2013 23:58:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 164C627B8; Tue, 10 Sep 2013 23:58:49 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r8ANwmsg005022; Tue, 10 Sep 2013 17:58:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r8ANwmG7005019; Tue, 10 Sep 2013 17:58:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 10 Sep 2013 17:58:48 -0600 (MDT) From: Warren Block To: Mark Felder Subject: Re: Problems with CD access on Virtualbox In-Reply-To: <1378841578.12571.20341845.26279920@webmail.messagingengine.com> Message-ID: References: <1378841578.12571.20341845.26279920@webmail.messagingengine.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 10 Sep 2013 17:58:48 -0600 (MDT) Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2013 23:58:50 -0000 On Tue, 10 Sep 2013, Mark Felder wrote: > > > On Tue, Sep 10, 2013, at 14:26, Juris Kaminskis wrote: >> >> ls -l /dev/cd0 gives following: >> >> crw-rw---- 1 root operator 0, 85 Sep 10 18:46 /dev/cd0 >> > > Only root and operator have access to that device. Put your user in the > operator group. You will have to logout/login again. In your > shell/terminal, use the "groups" command to confirm you're really in the > operator group. Then start up your virtualbox and it should have access. I was fighting with that last night, and just now figured it out. The user should be a member of the operator group, but also must have rw permissions on /dev/cd0, /dev/xpt0, and /dev/pass0... and here's the trick: there can be more than one /dev/pass device. As soon as I added pass1 and pass2 to /etc/devfs.conf, it worked: perm cd0 0660 perm pass0 0660 perm pass1 0660 perm pass2 0660 perm xpt0 0660 HAL is not needed.