pimp-my-box
pimp-my-box copied to clipboard
/var/torrent/.scgi_local not accessible by www-data
This breaks certain apps that uses /RPC2 such as transdroid.
Possible solution includes moving the .scgi_local somewhere else or changing the group owner for /home/rtorrent.
Currently I'm just using setfacl to give www-data access to that one socket file.
Well, since rutorrent works, I guess it uses the socket directly. Try to add www-data to the rtorrent group, and restart (not reload) the web server.
Proper solution:
- a new
rtxmlrpcgroup, withrtorrent,rutorrent, andwww-datain it /var/run/rtorrentdirectory owned byrtorrent.rtxmlrpc- socket at
/var/run/rtorrent/scgi_local.sockowned byrtorrent.rtxmlrpc