You are not logged in.

#1 2009-12-30 09:01:24

kfour
Member
From: chicago
Registered: 2009-07-15
Posts: 5
Website

Setting file permissions

I am trying to get wtorrent to work with my current folder hierarchy but I'm having trouble setting permissions for it. As far as I can tell wtorrent runs under user http and the files that it needs to access are owned by media:users.

I tried adding http to the users group and making sure i had read/write permissions to the folder i was targeting but when I try to have wtorrent write a file there I get an error saying that I cannot write there due to permissions. Thanks for any insight.

edit: wtorrent writes fine to /srv/http/wtorrent/torrents. ls -lh shows:

drwxrwxrwx  3 root root 4.0K Dec 30 02:02 torrents

If i set my new folder I want to use to either root:root or http:http, I still cant access it. Odd, I think I'll dig though some conf files.




EDIT: I may have stumbled across a ticket on the wtorrent website with a fix for this, so it could be entirely wtorrent to blame. Testing....

This problem appears to be much much deeper than I thought it would be. Its 3:30am and I cant see straight so im out.

Last edited by kfour (2009-12-30 09:33:48)

Offline

Board footer

Powered by FluxBB