From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 01:20:06 2004 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 51D4316A4CE for ; Thu, 12 Feb 2004 01:20:06 -0800 (PST) Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [211.29.132.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E3A743D31 for ; Thu, 12 Feb 2004 01:20:05 -0800 (PST) (envelope-from anubis357@optusnet.com.au) Received: from rdlax6-192.dialup.optusnet.com.au (rdlax6-192.dialup.optusnet.com.au [198.142.15.192])i1C9JvB30487; Thu, 12 Feb 2004 20:19:57 +1100 From: anubis To: "Edd Barrett" , Date: Thu, 12 Feb 2004 19:22:12 +1000 User-Agent: KMail/1.5.4 References: <005501c3f096$b106f650$8000a8c0@it3> In-Reply-To: <005501c3f096$b106f650$8000a8c0@it3> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402121922.12528.anubis357@optusnet.com.au> Subject: Re: SMBFS VFS.USEROMUNT BUG OR MY STUPIDITY? 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: Thu, 12 Feb 2004 09:20:06 -0000 On Wed, 11 Feb 2004 10:00 pm, Edd Barrett wrote: > Hi there. I think i may have discovered a bug in free bsd 5.2-RELEASE, it > may be in earlier versions too, but I have not tried it (maybe someone > running 4.x could try it) > > I have made an fstab entry and nsmbrc file for a smb share. vfs.usermount > is set to 1. > A normal user (me in this case (edd)) can mount a cdrom drive (on a dir > owned by him): > > mount /home/edd/cdrom > umount /home/edd/cdrom > > this returns no errors and proves that vfs.usermount is working for cd9660 > fs. > > mount /home/edd/rhome > > works fine... but > > umount /home/edd/rhome > > does NOT work. (permission denied) Is this a bug or am I being dumb? > > Thanks! > Let me ask the obvious. Are you seeing anything in the logs? You dont happen to have /home/edd/home as your current directory when you try and dismount? Have you tried umount -v or umount -f? I had a similar problem but i cant quite recall how i solved it. Ill look at that machine in the next few days and see.