LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2011, 11:45 AM   #1
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
".config" and ".kde" folders are being created under root directory (Slack Current)


Hi, I'm running a fully updated Slackware current and noticed that ".config" and ".kde" folders are being created under "/"

Problem described further on this bug report.

Anybody know a fix?
 
Old 03-11-2011, 12:05 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I just noticed this too, except I'm on my laptop, which is running Fedora 13. I (had) .kde and .dbus on / though, not .config.


Edit - To add - I use gnome, not kde....
 
Old 03-11-2011, 01:49 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
This sounds like a carry over from KDE 3.5.10. In 3.5.10 (and Trinity too). Using the kde-config command as root will create a .kde directory in the system root directory.

Looks like kde4-config at one time had the same problem.

I use kde-config in my rc.local script to determine the version of kde I am using. That script, of course, runs as root. My fix is sloppy. I have this in my rc.local and rc.shutdown scripts:

Code:
# Workaround of a kde-config bug.
if [ -d /.kde ]; then
  rm -fr /.kde
fi
if [ -d /.kde3 ]; then
  rm -fr /.kde3
fi

Last edited by Woodsman; 03-12-2011 at 08:53 PM.
 
1 members found this post helpful.
Old 03-11-2011, 02:29 PM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Original Poster
Rep: Reputation: 142Reputation: 142
Thanks, I'm already using a similar workaround.

It doesn't happen here when I use kde4-config as root, but e.g. when I go to "System settings>Login Screen>Convenience>Enable Auto-login", click "Apply" and enter my password.

Last edited by piratesmack; 03-11-2011 at 02:34 PM.
 
Old 03-11-2011, 08:57 PM   #5
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Don't see it here.
 
Old 03-12-2011, 08:43 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I'm testing Current and KDE. After much playing around with Systems Settings, finally I got around to configuring Dolphin. In the system root directory I saw the following:

.config (directory)
.kde (directory)
.directory (file)

Yes, I was playing around in a sandboxed virtual machine as root, which is the only way those directories and file could be created in the system root tree.

I don't know at this point exactly what caused that to happen. As reported in the bug report, I can confirm that using with the Date/Time applet will create the .config and .kde directories, but I don't know what caused the .directory file to be created. I suppose anybody using KDE4 who is bothered by this will need to expand my snippet posted above to include .config and .directory too.

Last edited by Woodsman; 03-12-2011 at 08:48 PM.
 
Old 03-12-2011, 10:57 PM   #7
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
.directory files are from dolphin as far as I can work out.

With current and Eric's KDE I have noticed for some time the .config directory in / with a Trolltech.conf file inside it.

KDE is only run as a normal user but this /.config/Trolltech.conf is all owned by root, file is recreated if deleted and KDE is started again.

Trolltech.conf :-
Code:
[Qt%20Plugin%20Cache%204.7.false]
usr\lib64\kde4\plugins\kauth\backend\kauth_backend_plugin.so=40700, 0, x86_64 linux g++-4 full-config, 2011-03-04T10:35:20
usr\lib64\kde4\plugins\kauth\helper\kauth_helper_plugin.so=40700, 0, x86_64 linux g++-4 full-config, 2011-03-04T10:35:23
 
Old 03-12-2011, 11:01 PM   #8
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
just checked. i have those directories here too.
 
Old 03-12-2011, 11:06 PM   #9
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
I may be mistaken, but I think this happened for me once after I had used kdesu to run a gui app as root, and my "hids" wen't beserk.

edit: but I just ran it to test, and it's not doing it for me now tho. I'm not sure if/when this went away. I'm on --current, maybe that's why?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 11:05 AM
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
How might I restore kmail folders/mail/settings from a "badly" saved "home"? deh6 Linux - Software 5 03-08-2008 09:25 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
Slack "Current" Alsa Sound Config Zaskar Slackware 6 05-12-2006 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration