DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-05-15 10:18:20

Martin
Member
Registered: 2009-05-14
Posts: 41

Getting transmission setup right - (permissions)

Hi guys.

I'm not even close to having any knowledge of telnetting or putty etc. but I can follow instructions..

and I have..

I've got transmission installed, I can access it via browser, but I have a permissions problem, or folder problem.

My setup is:

DNS-323, 1 disk, root folder is Volume_1
In this folder all my stuff is incl. the default BT folder
I figure I want to use this folder for my downloads etc.

I tried editing the settings.json file, but something is not right.

this is my settings file.

Code:

{
    "alt-speed-down": 50, 
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": false, 
    "download-dir": "\/mnt\/HD_a2\/BT\/complete", 
    "download-limit": 100, 
    "download-limit-enabled": 0, 
    "encryption": 1, 
    "lazy-bitfield-enabled": true, 
    "message-level": 2, 
    "open-file-limit": 32, 
    "peer-limit-global": 240, 
    "peer-limit-per-torrent": 60, 
    "peer-port": 51413, 
    "peer-port-random-enabled": 0, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 1024, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": 0, 
    "pex-enabled": true, 
    "port-forwarding-enabled": true, 
    "preallocation": 1, 
    "proxy": "", 
    "proxy-auth-enabled": false, 
    "proxy-auth-password": "", 
    "proxy-auth-username": "", 
    "proxy-enabled": false, 
    "proxy-port": 80, 
    "proxy-type": 0, 
    "ratio-limit": 2.000000, 
    "ratio-limit-enabled": false, 
    "rpc-authentication-required": false, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "{f9233da1f0670530fe636294e85c4cff17c169f6WvHDqL7T", 
    "rpc-port": 9091, 
    "rpc-username": "", 
    "rpc-whitelist": "127.0.0.1,192.168.1.*", 
    "rpc-whitelist-enabled": true, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 100, 
    "speed-limit-up-enabled": false, 
    "upload-limit": 100, 
    "upload-limit-enabled": 0, 
    "upload-slots-per-torrent": 14
}

I believe I've chown'ed all BT folders etc. but still no luck.
I even just went into the client and changed the download folder in settings, which didn't seem to make any difference, or change anything in the settings.json.

the transmission client just gives me a 'no such file or directory'.


somewhere I made one or more mistakes.. but I can't figure out where...

Last edited by Martin (2009-05-15 10:20:18)

Offline

 

#2 2009-05-15 14:06:19

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Getting transmission setup right - (permissions)

(I'm assuming Volume1 == /mnt/HD_a2)

1. Who's the owner of /mnt/HD_a2/.transmission-daemon (incl. files and subfolders) and /mnt/HD_a2/BT/complete (incl. files and subfolders)?
2. How do you start up Transmission?

If using the start script that comes with the Transmission package (/ffp/start/transmission.sh), Transmission is run as user 'nobody'. As a result, all files and folders that Transmission needs to access must be owned by 'nobody':

Code:

$ chown -R nobody /mnt/HD_a2/.transmission-daemon
$ chown -R nobody /mnt/HD_a2/BT/complete

You may modify the script though and change the username to something else. Just open the script with a text editor and edit 'nobody' to the user of your choice.
Of course, all files & folders mentioned above must then belong to this user.

Offline

 

#3 2009-05-15 14:24:34

Martin
Member
Registered: 2009-05-14
Posts: 41

Re: Getting transmission setup right - (permissions)

Hi Kyle.

Thanks for answering.. appreciate it.

I start transmission with: /ffp/start/transmission.sh start
then log on to webbased client
then open a .torrent
it sits for a while, then gives a 'no such file or directory'

After running this:

Code:

$ chown -R nobody /mnt/HD_a2/.transmission-daemon
$ chown -R nobody /mnt/HD_a2/BT/complete

I cannot even get it to open a .torrent.

something is not set right...

where do I set the folder for torrents? and incompletes?

Is there another settings file than transmission.json?

Offline

 

#4 2009-05-15 14:28:51

Martin
Member
Registered: 2009-05-14
Posts: 41

Re: Getting transmission setup right - (permissions)

to go through what I do..

I start up putty ; start the transmission via the code above
open webclient
add torrent
watch in misery as it fails.

I've chown'en .transmission-daemon, BT, complete, incomplete, torrents
I've chmodded BT and subfolders to 0777

Offline

 

#5 2009-05-16 10:37:09

Martin
Member
Registered: 2009-05-14
Posts: 41

Re: Getting transmission setup right - (permissions)

Still hoping to get this resolved. I don't know how to find my mistake unfortunately.. sad

Please drop a friendly advice!

Offline

 

#6 2009-05-16 13:35:23

iazmin
Member
Registered: 2008-09-10
Posts: 55

Re: Getting transmission setup right - (permissions)

I am not sure what are your exact problems, I just followed the step provided here and it run perfectly from firefox. Google Chrome sometimes give permission error message.
http://dns323.kood.org/forum/t2719-%5BR … ssion.html

and

http://www.shadowandy.net/2009/01/trans … ns-323.htm

Last edited by iazmin (2009-05-16 13:36:11)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB