From owner-freebsd-questions Wed Oct 25 19:36:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from berzerk.gpcc.itd.umich.edu (berzerk.gpcc.itd.umich.edu [141.211.2.162]) by hub.freebsd.org (Postfix) with ESMTP id 17BC937B479 for ; Wed, 25 Oct 2000 19:36:22 -0700 (PDT) Received: from gorf.gpcc.itd.umich.edu (smtp@gorf.gpcc.itd.umich.edu [141.211.2.147]) by berzerk.gpcc.itd.umich.edu (8.8.8/4.3-mailhub) with ESMTP id WAA13846; Wed, 25 Oct 2000 22:36:21 -0400 (EDT) Received: from localhost (timcm@localhost) by gorf.gpcc.itd.umich.edu (8.8.8/5.1-client) with ESMTP id WAA23658; Wed, 25 Oct 2000 22:36:20 -0400 (EDT) Date: Wed, 25 Oct 2000 22:36:20 -0400 (EDT) From: Tim McMillen X-Sender: timcm@gorf.gpcc.itd.umich.edu To: Zhiui Zhang Cc: Joel Dinel , freebsd-questions@FreeBSD.ORG Subject: Re: Mounting Cdrom as normal user In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I must be doing something dumb here but I can't get this to work. trying to mount cd as regular user before trying anything: %mount_cd9660 /dev/acd0c /cdrom mount_cd9660: Operation not permitted su'd tim# sysctl -w vfs.usermount=1 vfs.usermount: 0 -> 1 exit to normal user (tim) %mount_cd9660 /dev/acd0c /cdrom mount_cd9660: Operation not permitted %ls -l / drwxr-xr-x 2 root wheel 512 Oct 20 16:32 cdrom logged in as tim su to root type: tim# chown tim /cdrom get 0 exit status %ls -l / drwxr-xr-x 2 tim wheel 512 Oct 20 16:32 cdrom then %mount_cd9660 /dev/acd0c /cdrom %mount_cd9660: Operation not permitted What gives? Thanks, Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message