From owner-freebsd-questions Wed Oct 25 23:41:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 1955437B4C5 for ; Wed, 25 Oct 2000 23:41:26 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 25 Oct 2000 23:39:47 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e9Q6el530234; Wed, 25 Oct 2000 23:40:47 -0700 (PDT) (envelope-from cjc) Date: Wed, 25 Oct 2000 23:40:47 -0700 From: "Crist J . Clark" To: Tim McMillen Cc: Zhiui Zhang , Joel Dinel , freebsd-questions@FreeBSD.ORG Subject: Re: Mounting Cdrom as normal user Message-ID: <20001025234047.Z75251@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from timcm@umich.edu on Wed, Oct 25, 2000 at 10:36:20PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Oct 25, 2000 at 10:36:20PM -0400, Tim McMillen wrote: > > 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, What are the perms on /dev/acd0c? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message