Hello everybody! I've got a little question here: how do I correctly set up a daemon and its related folders permissions?
I've got a little server going here which, among other thing, I'd like to use as a torrent box. My home server drive has a "storage" partition which I share on the LAN via AFP (so I can use it as external storage for my macbook). The administrator user of my server is the owner of this partition.
What I would like to achieve is a torrent daemon auto-picking torrent files from a folder on "storage" (say /mnt/storage/torrents) and downloading them into a "downloads" folder (say /mnt/storage/downloads). I've downloaded deluge and sort of have set it up.
Now, it might seem stupid but what confuses me is: how am I supposed to "correctly" configure the permissions on the folders? Right now everybody has access to the "torrents" and "downloads" folders (chmod 777), I am the owner of those folders and deluge is running under debian-deluge:debian-deluge. I've read a bunch of guides and tutorials online (some say I should join the debian-deluge group and set the permissions for the group, some say that I should make deluge run with my user's privileges and so on) but I eventually got pretty confused and ended up here. Is there anybody so kind to help this linux noob out?