I have Raspberry Pi running RaspBMC with a WD MyBook connected using USB. The drive is automatically mounted to /media/My Book
. I have created a folder /media/My Book/downloads
and I have set Trasmission's download directory to be /media/My Book/downloads
.
When I try to download a file, Transmission says
Error: Permission denied (/media/My Book/downloads/The.Simpsons.S24E09.720p.HDTV.X264-DIMENSION [PublicHD]/The.Simpsons.S24E09.720p.HD
ls -la gives me
drwx------ 1 pi 0 Dec 15 16:24 downloads
So I guess the problem is that transmission runs under different user than pi
and cannot write to the folder. However when I execute
chmod 777 downloads -R
the operations succeeds without any error but the permissions do not change, they stay 700 just for the owner.
What am I doing wrong and how can I enabled Transmission to write to that directory?