Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 19:43:42 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "illoai@gmail.com" <illoai@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: .config
Message-ID:  <20111219194342.520e3026.freebsd@edvax.de>
In-Reply-To: <CAHHBGkq_Y_4JOEntENoipX%2BaRk1QCT%2Byx9nDMGeqz8kxsP9%2BjQ@mail.gmail.com>
References:  <201111230539.21395.lumiwa@gmail.com> <20111123124633.28028a25.freebsd@edvax.de> <201111230731.07527.lumiwa@gmail.com> <CAHHBGkoYk%2BeukuSL30GcEL4fmdxcoO=iWW0GnPO%2Bwko90gxRGA@mail.gmail.com> <20111130200347.8358419f.freebsd@edvax.de> <CAHHBGkq_Y_4JOEntENoipX%2BaRk1QCT%2Byx9nDMGeqz8kxsP9%2BjQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Dec 2011 10:48:23 -0500, illoai@gmail.com wrote:
> On 30 November 2011 14:03, Polytropon <freebsd@edvax.de> 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?
>=20
> 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.




--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111219194342.520e3026.freebsd>