From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 23:07:13 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 CEC3C16A4CE for ; Thu, 24 Feb 2005 23:07:13 +0000 (GMT) Received: from cpanel02.rubas.net (cpanel02.rubas.net [62.216.182.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77D6543D2D for ; Thu, 24 Feb 2005 23:07:13 +0000 (GMT) (envelope-from pietro@sdf.lonestar.org) Received: from 234.121.77.83.cust.bluewin.ch ([83.77.121.234] helo=[192.168.1.3]) by cpanel02.rubas.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.43) id 1D4S4e-000434-Dz for freebsd-questions@freebsd.org; Fri, 25 Feb 2005 00:07:12 +0100 Message-ID: <421E6C29.6090502@sdf.lonestar.org> Date: Fri, 25 Feb 2005 00:07:05 +0000 From: Pietro Cerutti User-Agent: Mozilla Thunderbird 1.0 (X11/20041231) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel02.rubas.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sdf.lonestar.org X-Source: X-Source-Args: X-Source-Dir: 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: Thu, 24 Feb 2005 23:07:13 -0000 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