Page 1 of 1

Due to file and folder permissions torrents won't download

Posted: Sat Aug 15, 2009 4:19 am
by xaragon
I'm very new to Deluge; very familiar with torrents, been using uTorrent for a few years; and I'm a moderate linux user.

I just a set up a raid5 NAS, and I'm planning to have one of my headless servers download the torrents to the NAS. I've set up my ubuntu Jaunty server to access the files via smbfs. I can read and write to the mounted NAS folders.

So the problem is that when Deluge creates the files and folders from the torrent it sets wrong permissions. It will create a directory or file that does not have write permissions.

Code: Select all

drwxr-xr-x  2 7005 users    0 2009-08-15 00:12
I can manually change the permissions, then resume the download and Deluge will complete successfully but this is unsatisfactory.

I started with 1.1.6 and upgraded to 1.1.9.

It is late, and I can't think of a way to fix the issue.

Hopefully a solution can be found or I'll have to try another client.
Thanks.

Re: Due to file and folder permissions torrents won't download

Posted: Sat Aug 15, 2009 5:02 am
by xaragon
In good form I figured out my problem.

The issue belonged to how I was loading the smbfs in /etc/fstab. I did not state assign a user to own the mounted files thus it was given to root. So I added the uid=<username> option to those lines and everything is working fine now.

Cheers