From owner-freebsd-questions@FreeBSD.ORG Mon Dec 19 15:48:35 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 4B18B106564A for ; Mon, 19 Dec 2011 15:48:35 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CBBE78FC0C for ; Mon, 19 Dec 2011 15:48:34 +0000 (UTC) Received: by faaf16 with SMTP id f16so5008797faa.13 for ; Mon, 19 Dec 2011 07:48:33 -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=AJDmu/98y+g7hq6GuFv1NfhfjPKZz3Lg+7gcQN0GMMk=; b=qw4hm07Q6Dg1aFYjp+1IVRT0W8mvPNIRzJYSsUIPUwcxtuEDMQkLitDdC7teYMX0ia FsMmInjK1s+FTuryEBAi5AAiGo7UsyIo/8jFTtmgtXw4snxV9vDigViXtQl5PFmDCPpn wMNyUtOo8p7NfxZdiP0L1SpVkkdKMhGzeDEzU= MIME-Version: 1.0 Received: by 10.216.137.28 with SMTP id x28mr7315746wei.0.1324309709993; Mon, 19 Dec 2011 07:48:29 -0800 (PST) Received: by 10.216.172.211 with HTTP; Mon, 19 Dec 2011 07:48:23 -0800 (PST) In-Reply-To: <20111130200347.8358419f.freebsd@edvax.de> References: <201111230539.21395.lumiwa@gmail.com> <20111123124633.28028a25.freebsd@edvax.de> <201111230731.07527.lumiwa@gmail.com> <20111130200347.8358419f.freebsd@edvax.de> Date: Mon, 19 Dec 2011 10:48:23 -0500 Message-ID: From: "illoai@gmail.com" To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ajtiM , 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: Mon, 19 Dec 2011 15:48:35 -0000 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. =A0One 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? > > =A0 =A0 =A0 =A0% mkdir /.config > =A0 =A0 =A0 =A0mkdir: /.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)? There're likely a couple of others in that whole mess, as well. > Creating such data structures in a _user_ directory > is completely okay. But in / it simply sounds WRONG. > Sorry. JUST PLAIN WRONG! > This I agree with wholeheartedly. When I first moved to UFS2, the presence of the heretofore unknown .snap directories gave me a bit of a paranoid moment. --=20 --