From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 12:23:05 2007 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 088A716A418 for ; Fri, 31 Aug 2007 12:23:05 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (66-230-99-27-cdsl-rb1.nwc.acsalaska.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id CEA2813C457 for ; Fri, 31 Aug 2007 12:23:04 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id ECA7F1CC38 for ; Fri, 31 Aug 2007 04:22:34 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 31 Aug 2007 14:22:33 +0200 User-Agent: KMail/1.9.7 References: <46D7C623.5040709@gmx.net> In-Reply-To: <46D7C623.5040709@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708311422.33707.fbsd.questions@rachie.is-a-geek.net> Subject: Re: auto mount xfce4 and kde 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, 31 Aug 2007 12:23:05 -0000 On Friday 31 August 2007 09:41:23 Koen de Wijs wrote: > This week I installed FreeBSD on a computer of mine. Everything works > fine but one thing I can't get working. > Every person should be albe to work with the machine. The only thing > that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE is > started and I put a usb-stick in the computer there should appear a icon > on the desktop with the usb drive on it and that should also work for > cd-roms. On XFCE4 there should also appear an icon; Don't know about XFCE4, but read on. > I also added the regular user to the group operators. You don't wanna do that, unless it's ok with you that a user can get read access to every file on every disk. Operator is meant for backup users. > What do I need to do to get it working? portinstall desktop-bsd-tools and read the instructions about devfs, with a major side-note: ntfs/fat partitions can only be mounted by root, because mount changes the owner of the disk to the underlying directory, so it's likely that your users cannot mount usb-sticks. To automount usb storage devices as root, have a look at usbd(8) and usbd.conf(5). You'll have to provide an unmounter for your users though and instruct them to unmount before removing or things go to hell. -- Mel