Page 1 of 1

Moving completed torrents

Posted: Fri Jan 16, 2009 8:22 am
by Kissell
I'm using v1.1.0 and I love the daemon mode, so that it can automatically download new torrents in an RSS feed without anyone having to login...

But a big problem I'm having with that, is that all the new files it creates when it downloads torrents are user root, group root. So nobody can use the files it completes and then moves to the user share... i have to go edit the security permissions to allow people access.. :(

Is there a way I can have it run a script after it moves a file? or change the file permissions to something other than root for the new files deluge creates? I'm assuming it does this because the daemon is run on startup in /etc/init.d and therefore is probably running as root.

Re: Moving completed torrents

Posted: Fri Jan 16, 2009 6:50 pm
by andar
Don't run deluged as root.. That's rather silly.

Just run it as the user that you want to have permission.