From owner-freebsd-stable@FreeBSD.ORG Thu Feb 9 06:40:37 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 257C016A424 for ; Thu, 9 Feb 2006 06:40:37 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from speechpro.ru (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9691D43D45 for ; Thu, 9 Feb 2006 06:40:35 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from [192.168.2.26] (helo=sysadm.stc) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1F75Tm-000H21-3a for freebsd-stable@freebsd.org; Thu, 09 Feb 2006 09:40:34 +0300 Received: from localhost.stc ([127.0.0.1] helo=sysadm.stc) by sysadm.stc with esmtp (Exim 4.54 (FreeBSD)) id 1F75Tk-0000Ew-4Q for freebsd-stable@freebsd.org; Thu, 09 Feb 2006 09:40:32 +0300 Received: (from igorr@localhost) by sysadm.stc (8.13.4/8.13.3/Submit) id k196eVka000925 for freebsd-stable@freebsd.org; Thu, 9 Feb 2006 09:40:31 +0300 (MSK) (envelope-from igorr) Date: Thu, 9 Feb 2006 09:40:31 +0300 From: Igor Robul To: freebsd-stable@freebsd.org Message-ID: <20060209064031.GA850@sysadm.stc> References: <20060208064637.11c015ee.lists@elehack.net> <200602081327.k18DRCY2061980@lurza.secnetix.de> <43EA3A34.8070801@pobox.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43EA3A34.8070801@pobox.sk> User-Agent: Mutt/1.5.11 X-Archived: Yes Subject: Re: Trouble with mounting USB stick as user 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: Thu, 09 Feb 2006 06:40:37 -0000 On Wed, Feb 08, 2006 at 07:36:36PM +0100, martinko wrote: > $ mount /usr/home/mato/mnt/win/ > mount_ntfs: /dev/ad0s6: Operation not permitted > [mb-aw1n-bsd][mato][~] > $ mount /usr/home/mato/mnt/lin/ > mount_ext2fs: /dev/ad0s7: Operation not permitted > [mb-aw1n-bsd][mato][~] > $ mount /usr/home/mato/mnt/fat/ > mount_msdosfs: cannot find or load "msdosfs_iconv" kernel module > mount_msdosfs: msdosfs_iconv: Operation not permitted Do you have filesystem modules loaded? While vfs.usermount=1 allows user to mount filesystems, it does not allow him load modules. For removamble devices I have following in my /etc/rc.local: mount /rem/floppy mount /rem/flash These mount commands dont mount anything without media in drive, but they load all modules and setup kernel locale stuff.