From owner-freebsd-stable@FreeBSD.ORG Fri Jun 30 16:44:46 2006 Return-Path: X-Original-To: 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 A36C516A416 for ; Fri, 30 Jun 2006 16:44:46 +0000 (UTC) (envelope-from fcash-ml@sd73.bc.ca) Received: from smtp.sd73.bc.ca (mailtest.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E2BA43D8F for ; Fri, 30 Jun 2006 16:44:44 +0000 (GMT) (envelope-from fcash-ml@sd73.bc.ca) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 336458A003B; Fri, 30 Jun 2006 09:51:41 -0700 (PDT) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 81413-01-6; Fri, 30 Jun 2006 09:51:35 -0700 (PDT) Received: from webmail.sd73.bc.ca (unknown [10.10.10.17]) by smtp.sd73.bc.ca (Postfix) with ESMTP id F062D8A0021; Fri, 30 Jun 2006 09:51:34 -0700 (PDT) Received: from webmail.sd73.bc.ca (localhost.localdomain [127.0.0.1]) by webmail.sd73.bc.ca (Postfix) with ESMTP id 8EFF69000464; Fri, 30 Jun 2006 09:44:37 -0700 (PDT) Received: from 192.168.0.10 (SquirrelMail authenticated user fcash) by webmail.sd73.bc.ca with HTTP; Fri, 30 Jun 2006 09:44:37 -0700 (PDT) Message-ID: <35089.192.168.0.10.1151685877.squirrel@webmail.sd73.bc.ca> In-Reply-To: <44A552BE.2070707@ispro.net.tr> References: <44A54EA2.3080504@ispro.net.tr> <53922.192.168.0.10.1151685032.squirrel@webmail.sd73.bc.ca> <44A552BE.2070707@ispro.net.tr> Date: Fri, 30 Jun 2006 09:44:37 -0700 (PDT) From: "Freddie Cash" To: "Evren Yurtesen" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Cc: 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 Reply-To: fcash-ml@sd73.bc.ca 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 16:44:46 -0000 On Fri, June 30, 2006 9:35 am, Evren Yurtesen wrote: > Freddie Cash wrote: > >> On Fri, June 30, 2006 9:17 am, 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 >>> % >>> >> >> Please see the FAQ entry for this: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER >> -FLOPPYMOUNT >> You're missing the last bit. :) >> > > I already checked it... > I have vfs.usermount=1 and 666 mode on /dev/fd0 > What am I missing? :) Can you tell the exact point? Users can only mount onto directories they own. :) Hence, normal users can't mount to /mnt. ---- Freddie Cash, LPCI-1 CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca