From owner-freebsd-questions@FreeBSD.ORG Fri Oct 29 18:06:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C59D106566B for ; Fri, 29 Oct 2010 18:06:01 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C60DA8FC1A for ; Fri, 29 Oct 2010 18:06:00 +0000 (UTC) Received: by bwz3 with SMTP id 3so2764559bwz.13 for ; Fri, 29 Oct 2010 11:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/CK3QUnqYCr5h2xjvaypL+uxTKaxAIexhEV9/ym4tGM=; b=QhQVa5GqBhUyEwpG3jyQ2U8TRpX0rzSBGr4s9KFKsJx9T6X2Yy4AZnA5iv5pYnUr2I 3n+tEhYwIR71wmWx0lpb9PNSmpyqDLEC5M0AIaGhhzRiFyTkPuuzOgk+s3/GAS0db/Rb 2wP22cmboYO+FLuOT3353oD0+hOZhU8QFEWbo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lCPOD1VAaGrbDyRSZestUB5Or2b8D1PVSEkJ2wiZnms176eZutMzD6cdkL7WURPsLo 4S6zy3d2Svcwn3SbzKaunOdN2fpFN4yTiorWiLH9/MFtoFtgezzyw3zpRg4O0xxlNu/H +zffSu0OutRGU7UX/DOuPR0QZKhkVWBnn+i8I= MIME-Version: 1.0 Received: by 10.204.120.195 with SMTP id e3mr3840337bkr.77.1288375558733; Fri, 29 Oct 2010 11:05:58 -0700 (PDT) Received: by 10.204.77.1 with HTTP; Fri, 29 Oct 2010 11:05:58 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Oct 2010 20:05:58 +0200 Message-ID: From: David DEMELIER To: Adam Vande More Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dan , freebsd-questions@freebsd.org Subject: Re: mount_msdosfs -L ... [odd behaviour ?] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 18:06:01 -0000 2010/10/29 Adam Vande More : > On Fri, Oct 29, 2010 at 7:53 AM, dan wrote: > >> On 10/29/10 13:22, Adam Vande More wrote: >> >>> On Fri, Oct 29, 2010 at 6:13 AM, dan =C2=A0wrote: >>> >>> =C2=A0Thank you for your research and prompt response. The module was >>>> available. >>>> I tried both: kldload in command line and adding it in loader.conf. >>>> >>>> Note. In case the module has not been been loaded,as a user, here, one >>>> gets >>>> 2 messages >>>> "mount_msdosfs: cannot find or load msdosfs_iconv kernel module" >>>> AND >>>> >>>> "mount_msdosfs: msdosfs_iconv: Operation not permitted" >>>> >>>> I wonder what Operation is not permitted as a user and what rights the >>>> user >>>> needs. >>>> >>> >>> >>> sysctl vfs.usermount=3D1 >>> >>> Although it doesn't seem correct that you can mount that FS if it's >>> already >>> been mounted previously by root when that sysctl is at 0. >>> >>> >> Hello >> >> vfs.usermount is already set. In fact, I can readily mount the filesyste= m >> if I do not specify "-L ...". >> >> I did mount and then soon unmount the filesystem as root with "-L ...". > > > I see now. =C2=A0The loading of the kernel module is not permitted as I t= hink the > mount command attempts to load it if necessary. =C2=A0I'm not aware of an= y method > of granting access to user which would allow them to load/unload kernel > modules. =C2=A0Only root level privs can do that. > > > -- > Adam Vande More > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > I have the same trouble, I usually mount device by user with vfs.usermount=3D1 but for libiconv I need root... -- Demelier David