Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Want/should be using rtorrent, I know. However, as this is my first install on a desktop (laptop's been running 10 for 1 1/2 years with no issues... no p2p though) I've a lot to manage, so for now... ktorrent it is.
Having said that... when loading existing torrents (which check out fine and show 100% complete) I get the following error...
Error: Cannot open <directory> permission denied.
So, it would seem that there are some writing (?) permissions that need setting to.
I modified the torrent folders permissions, adding a new named user (bin) as a long shot, which it turned out to be.
Ktorrent runs under your users name, so if you have an other partition where you are storing it, make sure to change the ownership and permissions to match the permissions of your home directory.
What type of partition is it? Is it a Linux/Unix native filetype? If so then the directory you use to store the torrents can be changed with the chown and chmod commands. Also check that you have a sensible umask value. Did you add a umask command in your ~/.profile script? A directory needs the "x" permission bit set before you can enter it. ( Actually it is the umask value of the root user that is important because root would have been the user to create a new directory outside of anyone's home directory. )
I'm sort of following you, I believe though I am again not explaining myself.
The torrents themselves are in my /home directory (sub-folder actually).
ktorrent itself, is giving the error of not being able to access a file within a completed torrent.
As 10.2 is becoming my full time desktop, these torrents are all completed and I'm trying to get them up and running again after installing openSUSE 10.2.
I imported/opened a torrent and checked it. When that was complete, the following error under status...
Error: Cannot open /home/blah blah blah <file>: Permission denied.
Of course, these torrents are from my old windows box, and are archives and media files. Though, I don't think that should have any baring.
And, actually... the error refers to the /temp/cache folder location (also in the /bt folder within my home directory.
You need to examine the permissions of all of the files and directories in the torrent save directory. Since you copied them from elsewhere, depending on how they were copied or moved, and by who, the ownership or rights may be wrong or too restrictive.
Make sure you have rwx permissions on all the subdirectories.
Also check for any hidden files and directories as well.
Are new torrents OK?
Quote:
And, actually... the error refers to the /temp/cache folder location (also in the /bt folder within my home directory.
You may want to refer to them as directories and not folders. You using a real OS now!
It would help if you listed the directory names relative to your home directory or the torrent directory because I misread /temp/cache as /tmp/cache/. A path starting with "/" indicates a full path rather than a relative one, as in ~/torrents/temp/cache/.
Look at the permissions of the files and folders in the shell.
For example, "ls -ld ~/torrents" will show a long listing of the ~/torrents directory itself instead of listing the files inside the directory.
I had reviewed the permissions of some of the files in the directory <g>, but apparently it did not take, or, more likely... I didn't double check.
However... after setting permissions at the ~/incoming/bt rather than ~/incoming/bt/cache (where the error originated), permissions were set properly and am importing the remaining torrents now.
Meh... you think I'd let one of my teens move the files? <g>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.