Siduction Forum

Siduction Forum => Software - Support => Topic started by: michaa7 on 2013/04/20, 12:39:23

Title: /.config found in "/", what is this?
Post by: michaa7 on 2013/04/20, 12:39:23
I found "/.config" containing "Trolltech.conf"

I wonder what business a config file has to do in the "/" directory. Furthermore even root can't delete this file.

Can anyone give me some insight what's going on here. This doesn't seem normal.
Title: /.config found in "/", what is this?
Post by: ralul on 2013/04/20, 13:04:59
It is some qt config created by some root process, which is probably running, because you cannot delete. Kdm?
Title: RE: /.config found in "/", what is this?
Post by: dibl on 2013/04/20, 15:23:59
That's normal for system running KDE (perhaps RazorQT as well).

root@imerabox:/# ls -la .config
total 12
drwxr-xr-x  2 root root 4096 Nov  3  2011 .
drwxr-xr-x 27 root root 4096 Apr 18 11:59 ..
-rw-r--r--  1 root root  549 Apr  4 09:40 Trolltech.conf


http://www.linuxquestions.org/questions/slackware-14/config-trolltech-conf-875568/
Title: RE: /.config found in "/", what is this?
Post by: DeepDayze on 2013/04/20, 16:18:28
To me that's not a good place for this Qt config file...why can't it be placed in either /etc or /var/run (if this is a transient file)?

Or as Qt is cross platform perhaps this is an intended design.
Title: RE: /.config found in "/", what is this?
Post by: dibl on 2013/04/20, 16:38:03
Well, according the Arch guy, this is the config for root when using "kdesu", so it does kinda make sense from that perspective.

The user also has the same Trolltech file:

don@imerabox:~$ ls -la .config | grep Trolltech
-rw-------  1 don don 80929 Apr 19 11:46 Trolltech.conf
Title: Re: RE: /.config found in "/", what is this?
Post by: michaa7 on 2013/04/20, 20:29:51
Thanks @ all for the info

Quote from: "dibl"Well, according the Arch guy, this is the config for root when using "kdesu", so it does kinda make sense from that perspective...

For user "root" it could better live in /root.
Title: Re: RE: /.config found in "/", what is this?
Post by: DeepDayze on 2013/04/20, 20:32:35
Quote from: "michaa7"Thanks @ all for the info

Quote from: "dibl"Well, according the Arch guy, this is the config for root when using "kdesu", so it does kinda make sense from that perspective...

For user "root" it could better live in /root.
yup, and in each user's home dir as well.
Title: Re: RE: /.config found in "/", what is this?
Post by: dibl on 2013/04/20, 21:42:09
Quote from: "michaa7"

For user "root" it could better live in /root.

LOL -- yes, that location was not overlooked!

root@imerabox:/# ls -la /root/.config
total 48
drwxr-xr-x  6 root root  4096 Jan  5 14:52 .
drwx------ 20 root root  4096 Apr 20 15:40 ..
drwxr-xr-x  2 root root  4096 Dec  5  2011 autostart
drwx------  2 root root  4096 Jan  5 14:52 htop
drwxr-xr-x  2 root root  4096 Jun 24  2012 oxygen-gtk
drwxr-xr-x  2 root root  4096 Nov  3  2011 qtcurve
-rw-r--r--  1 root root 21827 Apr 15 11:08 Trolltech.conf
Title: Re: RE: /.config found in "/", what is this?
Post by: michaa7 on 2013/04/21, 00:34:32
So we can assume each user has a troll-file in his home, root too (it seems my root could abstain from needing it), and everyone else (who the heck) may use the one polluting "/". That's (not) funny.  :shock:
Title: RE: Re: RE: /.config found in "/", what is this?
Post by: dibl on 2013/04/21, 01:04:44
In the past, there were people who filed bug reports on this.

http://forum.kde.org/viewtopic.php?f=63&t=92815

But that was 2011, and now we have 2013 .......