From owner-freebsd-stable@FreeBSD.ORG Fri Jun 30 17:10:57 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A246316A407 for ; Fri, 30 Jun 2006 17:10:57 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: from smtp107.biz.mail.mud.yahoo.com (smtp107.biz.mail.mud.yahoo.com [68.142.200.255]) by mx1.FreeBSD.org (Postfix) with SMTP id 3CC9543D90 for ; Fri, 30 Jun 2006 17:10:54 +0000 (GMT) (envelope-from john_m_cooper@yahoo.com) Received: (qmail 25779 invoked from network); 30 Jun 2006 17:10:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=MOvs0hI51nT7q3lig638qAa/BtGWozpPYxeFu6OlOdlcU/eeDASOAx2185OAD66VQsf3F1PHukE9tGVzJV8TOU9PiGgbWfVgxsXdEolK8+EcH84BWsglYhkHNIYrdV2Plc2W8mxgl3W7C295X33E8G2x/WgUMIHzhtMW9xl30tw= ; Received: from unknown (HELO borgdemon2.clspco.adelphia.net) (j.m.cooper@borgsdemons.com@67.22.17.55 with login) by smtp107.biz.mail.mud.yahoo.com with SMTP; 30 Jun 2006 17:10:53 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by borgdemon2.clspco.adelphia.net (Postfix) with ESMTP id 0F6685C54; Fri, 30 Jun 2006 12:10:51 -0500 (CDT) Message-ID: <44A55B1B.1050705@yahoo.com> Date: Fri, 30 Jun 2006 12:10:51 -0500 From: John Merryweather Cooper User-Agent: Thunderbird 1.5.0.4 (X11/20060617) MIME-Version: 1.0 To: Evren Yurtesen References: <44A54EA2.3080504@ispro.net.tr> In-Reply-To: <44A54EA2.3080504@ispro.net.tr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: vfs.usermount seem to have no effect... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 17:10:57 -0000 Evren Yurtesen wrote: > I tried to let my user to mount floppy however it doesnt work...see > below: > > %ls -al /dev/fd0 > crw-rw-rw- 1 root operator 0, 98 Jun 30 18:22 /dev/fd0 > %ls -al /mnt > total 4 > drwxrwxrwx 2 root wheel 512 May 1 2005 . > drwxr-xr-x 20 root wheel 512 Jun 30 18:21 .. > %mount /dev/fd0 /mnt > mount: /dev/fd0: Operation not permitted > %sysctl -a | grep vfs.usermount > vfs.usermount: 1 > %uname -a > FreeBSD perpetual.my.domain 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun > 23 20:07:07 EEST 2006 > yurtesen@perpetual.my.domain:/usr/obj/usr/src/sys/PERPETUAL i386 > % > > > The same problem exists for dos partitions etc. am I missing something > here? > > Thanks, > Evren > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Well, the mount point has to be "owned" and have suitable permissions for mounting. For example, to mount my DVD drive while NOT logged on as root, I have a mounting point: $HOME/cdrom in my home directory and an appropriate entry in my /etc/fstabs. jmc