From owner-freebsd-questions@FreeBSD.ORG Tue Dec 30 21:37:38 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 9F66B16A4CE for ; Tue, 30 Dec 2003 21:37:38 -0800 (PST) Received: from cpanel10.gzo.com (69-56-171-54.theplanet.com [69.56.171.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8767E43D53 for ; Tue, 30 Dec 2003 21:37:37 -0800 (PST) (envelope-from dany_list@natzo.com) Received: from pcp04639464pcs.gambrl01.md.comcast.net ([68.50.51.181] helo=natzo.com) by cpanel10.gzo.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.24) id 1AbZ2v-0003kp-Vp for freebsd-questions@freebsd.org; Tue, 30 Dec 2003 23:37:30 -0600 Message-ID: <3FF2612A.6050903@natzo.com> Date: Wed, 31 Dec 2003 00:39:54 -0500 From: Dany User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel10.gzo.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - natzo.com Subject: Mounting CDROM as user under 5.x 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, 31 Dec 2003 05:37:38 -0000 Hello, Because I didn't get any response on BSDforums, I've decided to try my chance here. I'm trying to get my single user (belonging to the wheel group) mounting a CD drive under 5.x using devfs (5.2RC2). Could somebody post a very simple howto showing the files to modify ? Thanx So far I've tried the following things without success : mkdir /home/username/mount/cdrom chown username /home/username/mount/cdrom chmod 755 /home/username/mount/cdrom added the following to /etc/sysctl.conf vfs.usermount=1 added the following to /dev/devfs.conf link acd0 cdrom perm acd0 0660 added /etc/devfs.rules with [my_ruleset=10] add path 'acd*' mode 660 added the following to /etc/rc.conf devfs_system_ruleset="my_ruleset" /dev/cdrom now shows up and root can use it to play a DVD for example but user cannot use it either directly (/dev/cdrom) or when trying to mount a CD (mount_cd9660 /dev/cdrom /home/username/mount/cdrom) .. the result is “Operation not permitted” Thank you Dany