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

Unable to remove torrent temp dir

Tags: None
(comma "," separated)
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Unable to remove torrent temp dir

Fri Sep 30, 2005 2:01 am
svn version. Right click and remove results in "unable to remove" the temp dir.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Sep 30, 2005 2:51 am
The actual error displayed is

file:///home/tom/.kde3.3/share/apps/ktorrent/tor0/.

Shouldn't there be only one / ? in 'file:/'
George
Moderator
Posts
5421
Karma
1

Fri Sep 30, 2005 9:00 am
Anonymous wrote:The actual error displayed is

file:///home/tom/.kde3.3/share/apps/ktorrent/tor0/.

Shouldn't there be only one / ? in 'file:/'


This is just a file URL, if you open this with konquerer it should go to the directory.

Anyway, do you have the necessary permissions to delete /home/tom/.kde3.3/share/apps/ktorrent/tor0/ ?
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Sep 30, 2005 5:03 pm
I agree when I past this link into konqueror it strips the extra slashes. If I try this with a non-existent dir, it give me an error with only one slash. I don't know if this is a good test or not, because I don't know exactly through what library etc that ktorrent tries to delete the file.

The funny thing is this dir is in my home dir, ktorrent is running as me, and ktorrent itself created this dir when it started the torrent.

I've deleted the actual dir in preparation for a new svn version, but here is the parent ~/.kde3.3/share/apps/ktorrent.

drwx------ 2 tom users 104 Sep 29 21:58 ktorrent
George
Moderator
Posts
5421
Karma
1

Fri Sep 30, 2005 5:52 pm
The permissions are good (only you have rwx access to it).

Open a torrent and see what the permissions of the tor0 dir are.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Sat Oct 01, 2005 4:30 am
svn version 465870

Open torrent. Right click and remove torrent. Information Ktorrent dialog box with:
Could not delete file file:///home/tom/.kde3.3/share/apps/ktorrent/tor1/.

tom@gate1 ~ $ ls -l '/home/tom/.kde3.3/share/apps/ktorrent/'
total 4
-rw-r--r-- 1 tom users 0 Sep 30 23:11 log
-rw-r--r-- 1 tom users 648 Sep 28 03:43 search_engines
drwxr-xr-x 3 tom users 176 Sep 30 23:21 tor0
drwxr-xr-x 3 tom users 176 Sep 30 23:23 tor1
tom@gate1 ~ $

gate1 ~ # ps aux | grep ktorrent
tom 7686 1.0 5.5 33696 21344 ? S 23:11 0:10 ktorrent -icon ktorrent -miniicon ktorrent -caption KTorren
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Sat Oct 01, 2005 4:34 am
Just noticed that a delete file progress dialog pops up with:

file:/home/tom/.kde3.3/share/apps/ktorrent/tor1/
George
Moderator
Posts
5421
Karma
1

Sat Oct 01, 2005 12:14 pm
OK try the latest svn version.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell