From owner-freebsd-questions@FreeBSD.ORG Fri Feb 25 06:45:38 2005 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 4C97316A4CE for ; Fri, 25 Feb 2005 06:45:38 +0000 (GMT) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04C3443D68 for ; Fri, 25 Feb 2005 06:45:38 +0000 (GMT) (envelope-from vincent_bachelier@yahoo.fr) Received: from vincent (ferreol-1-82-66-171-150.fbx.proxad.net [82.66.171.150]) by postfix4-2.free.fr (Postfix) with SMTP id E0AF02BEDE1; Fri, 25 Feb 2005 07:45:36 +0100 (CET) Received: by vincent (sSMTP sendmail emulation); Fri, 25 Feb 2005 07:45:41 +0100 Date: Fri, 25 Feb 2005 07:45:41 +0100 From: Bachelier Vincent To: Pietro Cerutti Message-ID: <20050225064541.GB807@localhost> References: <421E6C29.6090502@sdf.lonestar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <421E6C29.6090502@sdf.lonestar.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE cc: freebsd-questions@freebsd.org Subject: Re: Mount / Umount in user mode 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: Fri, 25 Feb 2005 06:45:38 -0000 ok thx, all work's well :d Le Fri, Feb 25, 2005 at 12:07:05AM +0000, Pietro Cerutti a écrit: > From: Pietro Cerutti > To: freebsd-questions@freebsd.org > Date: Fri, 25 Feb 2005 00:07:05 +0000 > Subject: Re: Mount / Umount in user mode > > Hi there, > it's right! You must set the sysctl vfs.usermount=1, but you also have to > assure that the user you want to mount the cdrom owns the mountpoint, > tipically, as root you should type: > chown /cdrom > > Hope this helps, > > Cheer, > > Bachelier Vincent wrote: > >Hi, > >How to mount or umount any file system in user mode ? > >like cdrom, usb drive ... ? > > > >I have hearn vfs.usermount with sysctl but I have set it and nothing ! > > > >How to make it work without setuid to mount and umount > >and without doing it with sudo > > > >Ok thx, See ya > > > >My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE > > > > -- > Pietro Cerutti > -- Powered by FreeBSD -- > SDF Public Access UNIX System > sdf.lonestar.org > > > -- > Pietro Cerutti > -- Powered by FreeBSD -- > SDF Public Access UNIX System > sdf.lonestar.org -- Vincent Bachelier Language : Francais / English Societ(e/y) : Solintech Site pro : http://www.solintech.fr Sourceforge Project : Ripperwww: http://www.sourceforge.net/projects/ripperwww Citation (fortune): "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies." -- C. A. R. Hoare