From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 22:42:55 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 740301065673 for ; Mon, 19 Dec 2011 22:42:55 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2A31B8FC16 for ; Mon, 19 Dec 2011 22:42:54 +0000 (UTC) Received: by yenl9 with SMTP id l9so4483897yen.13 for ; Mon, 19 Dec 2011 14:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=xJX9hcMhOmNBsIWHjoZoYcB1D7CL1uSz7ei5b0fNPsE=; b=qTG4zFhViXmwQqiQI5S4hK1FWf/OT6ofsoLVbqm6E+PhRomr5nJ3AzvtItC4AXfdwL JxQqENQUPqdJsXxoYsEUnw1IOBbNc58JSiDwHO8pgeKZ37UKULJ9fDKyIlPAIMugjlpW hBNKs4tvahf9aMB+iGr+RbQiV6as0XiQO5e3w= Received: by 10.236.115.40 with SMTP id d28mr31365570yhh.37.1324334574362; Mon, 19 Dec 2011 14:42:54 -0800 (PST) Received: from luna.wi.rr.com (cpe-184-58-138-79.wi.res.rr.com. [184.58.138.79]) by mx.google.com with ESMTPS id v48sm32406486yhk.6.2011.12.19.14.42.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Dec 2011 14:42:53 -0800 (PST) From: ajtiM To: freebsd-questions@freebsd.org, Polytropon Date: Mon, 19 Dec 2011 16:42:34 -0600 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RC3; KDE/4.7.3; i386; ; ) References: <201111230539.21395.lumiwa@gmail.com> <20111219194342.520e3026.freebsd@edvax.de> In-Reply-To: <20111219194342.520e3026.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112191642.34392.lumiwa@gmail.com> Cc: "illoai@gmail.com" 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: Mon, 19 Dec 2011 22:42:55 -0000 On Monday 19 December 2011 12:43:42 Polytropon wrote: > On Mon, 19 Dec 2011 10:48:23 -0500, illoai@gmail.com wrote: > > On 30 November 2011 14:03, Polytropon wrote: > > > On Wed, 30 Nov 2011 13:40:19 -0500, illoai@gmail.com wrote: > > >> 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. > > > > > > The question remains: > > > > > > How is a user-started process (e. g. when you run > > > the "startx" command) supposed to create directory > > > entries and files on root level /, a thing that > > > only root and root-like users (and programs!) > > > should be allowed to? > > > > > > % mkdir /.config > > > mkdir: /.config: Permission denied > > > > > > As a normal user, you _intendedly_ can't do this. > > > Why would you assume that a program you start > > > can do it? > > > > I don't have any QT/KDE stuff but isn't kdm suid > > (& owned by root)? > > That could be the reason: kdm, belonging to the > KDE world and quite probably using Qt, running > with the permissions to access /. > > You could temporarily try to disable kdm and > replace it by xdm, or no display login manager > at all. In that case, /.config shouldn't appear > anymore. I don't know because I don't use kdm and I don't see that kdm running. I have ksplah but not kdm and I have or re-create directory if I deleted in: / /root and in the user directory which should be. And it is happened when I start kde with 'startx" as user and .config isd recreated evrywhere.. In .xinitrc I have just: PATH=/usr/local/kde4/bin:$PATH export PATH startkde Mitja -------- http://jpgmag.com/people/lumiwa