Version: 3.1.3 (using 4.1.69 (KDE 4.1.69 (KDE 4.2 >= 20081009)), Gentoo) Compiler: i686-pc-linux-gnu-gcc OS: Linux (i686) release 2.6.26-gentoo-r1 Steps to reproduce: 1) Open ktorrent 2) Go to File->Open URL and past a torrent url (e.g. http://beta.legaltorrents.com/get/217-the-just-so-stories---rudyard-kipling) 3) Hit ok 4) Confirm the place where the torrents are supposed to be stored (for me it is a smb share mounted under /home/oliver/remote/Downloads/) 5) See the following error message: Cannot create directory //home/oliver/remote/Downloads/Librivox - The Just-So Stories - Rudyard Kipling/Content: Access denied to //home/oliver/remote/Downloads/Librivox - The Just-So Stories - Rudyard Kipling/Content. Remark: If I now redo the above steps, I can save it and the download will start just fine. Note that the torrent URL will already be saved in the open url dialog (which I must not alter in order to make it work the second time). If I was to enter a different url in that dialog, it would fail again.
We can't do much about this, if the file system returns back access denied when creating the directory to download to, we give up. It is very strange that it succeeds the second time, but what more can we do ? You could say, try again, but that would just be working around a bug in a file system, and we are not going to do that. This looks like a samba bug, or something wrong with the server sharing that directory. Contact the samba project.
Hi! Thanks first of all for the pointer towards the samba project, but I think that is not the problem... I just tried the procedure above with my local (reiserfs) filesystem, and there I run into the same problem... For example: Cannot create directory /home/oliver/local/Downloads/Free_Range_Studios_-_Story_of_Stuff/: Could not make folder /home/oliver/local/Downloads/Free_Range_Studios_-_Story_of_Stuff/. Is there some ktorrent log from which I can find out what exactly is going wrong? (perhaps some kio problem?)
Ok, here some more information: The problem only occurs when I try to store the download in a folder that does not exists. E.g.: Say /home/oliver/Download/ exists, then downloading to /home/oliver/Download/ works. However, if I would change the path to say /home/oliver/Download2/, it would fail because the subfolder Download2 does not exist. So is it possible that ktorrent lacks the right / does not try to create the "toplevel" directory under which it tries to store the torrent data itself?
Current development version already asks you if you want to create the directory if it doesn't exit. So we can close this as a duplicate of 163965. *** This bug has been marked as a duplicate of bug 163965 ***
Oops: exit -> exist