This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Deleted files being recreated at login

Tags: None
(comma "," separated)
ContextSwitch
Registered Member
Posts
6
Karma
0
OS
Strange one this, at least it's the first I've seen anything like it.

Whenever I login an old ("old" as in previously deleted) directory is
recreated. I've narrowed this down to KDE in that it only happens when I
start KDE. I thought it might be something to do with strigi at first so I
deleted the data store but it still happens. Anyone got any ideas?

Geoff
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS
Does it happen to all files/directories or some specific ones?


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Which directories / files are being recreated in particular?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
karoshi
Registered Member
Posts
43
Karma
0
OS
Maybe its an user path defined in systemsettings?

4.5 >> Systemsettings > Account Details > Paths
4.4 >> Systemsettings > About Me (if i remember right...)
ContextSwitch
Registered Member
Posts
6
Karma
0
OS
Hans wrote:Does it happen to all files/directories or some specific ones?


bcooksley wrote:Which directories / files are being recreated in particular?


It's a particular directory. The directory which is created contains another directory both of which contain no files. They were created by ktorrent. When ktorrent finishes the download it moves the downloaded files to a specific location which is controlled by a setting in the ktorrent configuration. I specifically do not have ktorrent running at the moment to make sure that it's not doing something silly.

I have also recursively grepped ~/.kde for the directory name, I found a couple of binary files in ~/.kde/cache-<pcname>/http so I deleted these but I still have the problem.

--
Geoff
ContextSwitch
Registered Member
Posts
6
Karma
0
OS
karoshi wrote:Maybe its an user path defined in systemsettings?

4.5 >> Systemsettings > Account Details > Paths
4.4 >> Systemsettings > About Me (if i remember right...)


Good idea but alas this is not the problem.

Cheers!
--
Geoff
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Make sure ktorrent isn't actually running.
Code: Select all
ps aux | grep ktorrent


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
ContextSwitch
Registered Member
Posts
6
Karma
0
OS
bcooksley wrote:Make sure ktorrent isn't actually running.
Code: Select all
ps aux | grep ktorrent


Did that and no ktorrent process is running. Of course that doesn't mean one wasn't kicked off at login time and has subsequently died. To test this I deleted the mutant ninja zombie directories and started up ktorrent. The directories were not recreated so I don't think it's anything to do with ktorrent.

--
Geoff
ContextSwitch
Registered Member
Posts
6
Karma
0
OS
The culprit was kget. I had used kget to download a file into the re-appearing directory. Even though kget had finished the download it seemed to want to re-create the directory. Simply removing the (completed) entry from kget has cured the problem.

--
Geoff


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]