From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 19:05:34 2011 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 47547106566B for ; Wed, 30 Nov 2011 19:05:34 +0000 (UTC) (envelope-from illoai@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 CD2C58FC0A for ; Wed, 30 Nov 2011 19:05:33 +0000 (UTC) Received: by bkat2 with SMTP id t2so1090332bka.13 for ; Wed, 30 Nov 2011 11:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Abxx8UBe8JA+YjkFbLp8U10KCIzRoVUcmsQp0KCg4mU=; b=q0qXI1eRlVbM2lArseeWtMXo/4VJ65Ll4PW2WQFoXxPjtlIByUqN0Xvc+BGG4rRHCe EZQs8manxqNl19WGrs3ahkfc8JEqThZhjiqyNuov6u2CLF6mVziQ2il+BwuQu6B1heUF h9G4A60DRjePthms0piuwLPsmIElWVU2NPU0Y= MIME-Version: 1.0 Received: by 10.205.131.3 with SMTP id ho3mr3678382bkc.11.1322678419167; Wed, 30 Nov 2011 10:40:19 -0800 (PST) Received: by 10.223.60.73 with HTTP; Wed, 30 Nov 2011 10:40:19 -0800 (PST) In-Reply-To: <201111230731.07527.lumiwa@gmail.com> References: <201111230539.21395.lumiwa@gmail.com> <20111123124633.28028a25.freebsd@edvax.de> <201111230731.07527.lumiwa@gmail.com> Date: Wed, 30 Nov 2011 13:40:19 -0500 Message-ID: From: "illoai@gmail.com" To: ajtiM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: .config 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: Wed, 30 Nov 2011 19:05:34 -0000 On 23 November 2011 08:31, ajtiM wrote: > On Wednesday 23 November 2011 05:46:33 Polytropon wrote: >> On Wed, 23 Nov 2011 05:39:21 -0600, ajtiM wrote: >> > Hi! >> > >> > I succesfully installed FreeBSD 9.0 RC-2 and I didn't have problems wi= th >> > bsdinstall and others. What I didn't have on 8.2 is when I start KDE4 >> > with startx I got directory .config in /. I have one .config in /home >> > but what it happened? When I deleted as root and I start again KDE4 as >> > user I got it again. Inside is a file Trolltech.conf (the same is in >> > /home/.config). >> >> That file seems to be part of Qt. How can it be >> created outside your $HOME when you startx? That's >> somewhat strange... how _can_ that happen? >> >> =A0 =A0 =A0 % cd >> =A0 =A0 =A0 % touch ../bla >> =A0 =A0 =A0 touch: ../bla: Permission denied >> =A0 =A0 =A0 % touch /bla >> =A0 =A0 =A0 touch: /bla: Permission denied >> >> Only root permissions allow the creation of files >> in that specific directories. >> >> Neither /.config or /home/.config should exist. >> It shoud be ~/.config for your user account. >> >> I also have ~/.config/Trolltech.conf. I'm not using >> KDE, but one KDE program, maybe other Qt-based programs. >> Maybe one of them has installed the directory (at >> this correct location)? >> >> =A0 =A0 =A0 % ls .config/ >> =A0 =A0 =A0 Trolltech.conf >> =A0 =A0 =A0 audacious/ >> =A0 =A0 =A0 autostart/ >> =A0 =A0 =A0 gsmartcontrol/ >> =A0 =A0 =A0 gtk-2.0/ >> =A0 =A0 =A0 menus/ >> >> Okay, seems that other toolkits also use it. :-) > > I don't know how this happened but I have it start all the time when I st= artx. > Troltech.conf: > > [Qt%20Plugin%20Cache%204.7.false] > usr\local\kde4\lib\kde4\plugins\kauth\backend\kauth_backend_plugin.so=3D4= 0704, > 0, i386 usr/local/share/qt4/mkspecs/freebsd g++-4 full-config, 201 > 1-11-20T16:14:25 > usr\local\kde4\lib\kde4\plugins\kauth\helper\kauth_helper_plugin.so=3D407= 04, 0, > i386 usr/local/share/qt4/mkspecs/freebsd g++-4 full-config, 2011- > 11-20T16:14:25 A dirty workaround might be to link /.config to something innocuous. One could obvio- usly also have /.config mounted as a tmpfs(5). So it couldn't persist from boot to boot. The cleanest solution is to forgo qt/kde, but then you're slightly more limited in what you can use for office-type stuff. --=20 --