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?
root
is wrong. Doing achmod 777
is wrong. Setting the correct group and user is the only correct way. – CousinCocaine Jun 07 '15 at 18:51pi
to something else. However, when I dols -al
it appears my files are still in api
group. With the above instructions, should I change every instance ofpi
to my new username, or do any refer to the group which is stillpi
? These instructions don't work when I changed everypi
to my username. – Keavon Dec 26 '18 at 12:38"should I change every instance of pi to my new username"
Yes, also is the new user in the debian-tranmission group?
– Biketire Jan 02 '19 at 07:23