Software
XBian version: 1.0 (knockout) (kernel: Linux 4.4.8+)
XBMC/Kodi version: 16.0 Git:2016-04-28
Overclock settings: I didn't overclock it
Hardware
Device type and model: Raspberry Pi 3
Power supply rating: 1,8 Amp
SD card size and make/type: 16 GB
Network (Ethernet or wireless): Ethernet
Connected devices (TV, USB, network storage, ...): HDD in NTFS
Transmission can't write the "resume" file. The download on the NTFS HDD seems to work fine:
I think this is before it tries to write the resume file:
 
This is after:
 
No sure if this backup has something to do here:
http://forum.xbian.org/thread-3559-post-31820.html#pid31820
Best regards
NB: I have been working with xBian + Deluge for weeks without problem with this same HDD.
*EDIT: I added a third line here to change permissions, after reboot it doesn't work.
http://forum.xbian.org/thread-3559-post-31820.html#pid31820 
First, two questions: 
1) Which transmission package(s) are you using?
Terminal
dpkg -l | grep transmission
ii  transmission-cli                      2.84-0.2                                        armhf        lightweight BitTorrent client (command line programs)
ii  transmission-common                   2.84-0.2                                        all          lightweight BitTorrent client (common files)
ii  transmission-daemon                   2.84-0.2                                        armhf        lightweight BitTorrent client (daemon)
ii  transmission-qt                       2.84-0.2                                        armhf        lightweight BitTorrent client (Qt interface)
2) Under which user is the transmission daemon running
Terminal
ps aux | grep transmission*
root      1568  0.0  0.1   4176  1660 pts/2    S+   18:56   0:00 grep transmission*
p2p      14789  0.5  0.9  76540 10192 ?        Ssl  11:50   2:08 /usr/bin/transmission-daemon --config-dir /home/p2p/.config/transmission
Why are you using /etc/transmission instead of /home/xbian/transmission? I suppose transmission daemon has no write access to /etc/transmission
 
 (10th May, 2016 02:54 AM)Nachteule Wrote: [ -> ]First, two questions: 
1) Which transmission package(s) are you using?
Terminal
dpkg -l | grep transmission
2) Under which user does the transmission daemon runs
Terminal
ps aux | grep transmission*
Why are you using /etc/transmission instead of /home/xbian/transmission? I suppose transmission daemon has no write access to /etc/transmission
Terminal
xbian@xbian ~ $ dpkg -l | grep transmission
ii  xbian-package-transmission        2.82                       armhf        Transmission 2.82 compiled, patched and configured for XBian
Terminal
xbian@xbian ~ $ ps aux | grep transmission*
xbian     2214 11.8  1.5  82296 11636 ?        SNl  16:47   0:56 /usr/local/bin transmission-daemon -f -g /etc/transmission/
xbian     3181  0.1  0.8  76908  6688 ?        SNl  16:48   0:00 /usr/local/bin transmission-daemon -f -g /etc/transmission/
xbian     5080  0.0  0.2   3764  1716 pts/5    S+   16:55   0:00 grep --color=auto transmission
/home/xbian/transmission is just the place where I stored the backup to copy from there.
/etc/transmission is where I found transmission files are installed in xBian
Note: I restored the Backup from other OS to xBian.
 
Hmmm, ok. User xbian does not have write permissions for folder /etc/transmission
You can change owner for /etc/transmission
Terminal
sudo chown -R xbian:xbian /etc/transmission/
But again, IMO makes no sense to use this folder for transmission in /etc
 
 (10th May, 2016 03:04 AM)Nachteule Wrote: [ -> ]Hmmm, ok. User xbian does not have write permissions for folder /etc/transmission
You can change owner for /etc/transmission
Terminal
sudo chown -R xbian:xbian /etc/transmission/
But again, IMO makes no sense to use this folder for transmission in /etc
But I didn't choose it!!
I just found it was there, it is xBian's default folder. I don't even know how I could change the folder for transmission.
 
I told you yesterday, how to configure config folder for transmission yesterday (for Debian pkg v2.84)
 
You must refer to this post:
http://forum.xbian.org/thread-3559-post-31816.html#pid31816
-I installed transmission from xBian, I thought I hadn't to change anything.
-I couldn't even find that folder:
Terminal
xbian@xbian ~ $ cd /etc/default/transmission-daemon
-bash: cd: /etc/default/transmission-daemon: No such file or directory
(I found the files here: /etc/transmission)
I couldn't access either to /etc/default/transmission/ although it was there.
Terminal
xbian@xbian /etc/default $ ls
anacron        hwclock       openbsd-inetd  vnc-autores
autofs         hwclock.fake  rcS            xbian-initramfs
avahi-daemon   ifplugd       rng-tools      xbian-led
bluetooth      iguanaIR      rpcbind        xbian-module-init-tools
bsdmainutils   keyboard      samba          xbian-rnd
console-setup  lirc          ssh            xbian-snap
cron           locale        template.json  xbian-update
dbus           networking    tmpfs          xbmc
devpts         nfs-common    transmission   zram-swap
halt           nss           triggerhappy
hdparm         ntp           useradd
xbian@xbian /etc/default $ cd transmission
-bash: cd: transmission: Not a directory
 
 
Hmmm, installed xbian-package-transmission for testing, config dir is /etc/transmission, owner is xbian:xbian and access richts are rwx for everybody. This should be ok.
Seems you destroyed rights and owner by cp -r and chmod command
 
/etc/default/transmission is config file not folder
 
 (10th May, 2016 03:17 AM)Nachteule Wrote: [ -> ]Hmmm, installed xbian-package-transmission for testing, config dir is /etc/transmission, owner is xbian:xbian and access richts are rwx for everybody. This should be ok.
Seems you destroyed rights and owner by cp -r and chmod command
I can't say not to that xD
After the cp-r I suppose I got backup's folder permissions.
I tried chmod after the permission problems (it can not the cause of the problems)
Now I am trying  sudo chown -R xbian:xbian /etc/transmission/
 (10th May, 2016 03:19 AM)Nachteule Wrote: [ -> ]/etc/default/transmission is config file not folder
I was suspecting that right now, thanks.
 
Yesterday you did:
 (9th May, 2016 03:50 AM)Peiote Wrote: [ -> ]I have them here:
Terminal
xbian@xbian /etc/transmission $ ls
blocklists  dht.dat  resume  settings.json  torrents
The process:
1- Delete directory:
Terminal
sudo rm -rf /etc/transmission
2- Copy the backup (backup in this example would be: "/home/xbian/transmission/" accesible from Samba):
Terminal
sudo cp  -r /home/xbian/transmission/ /etc/transmission/
3- Change permissions:
Terminal
sudo chmod -R 755 /etc/transmission/
Working, thank you guys.
You deleted /etc/transmission --> all rights and dir mode was gone
You copied /home/xbian/transmission to /etc/transmission with sudo --> owner of /etc/transmission is now root:root
You changed perms to 0755 --> no write access for group and everyone
Any questions?
 
The 3rd part, the permissions thing, I added that after problems arised. So, I could let the tutorial complete and working for making transmission backups. If you go there right now, you will see it changed again. Now it seems to be all right (it works).
If you think the tuto can get better (working in better way with permissions) go ahead, it will be helpful.
No questions, thanks for your help and teaching.
 
Transmission is working now - that's the most important 
