Jump to content
  • 0
Sign in to follow this  
megafantastic

Permission denied with Transmission

Question

I have raspeberry pi with transmission set up. I recently got a Zyxel NAS326. I want use Pi as torrent client as it has a VPN enabled and NAS326 can't use VPN.

I've successfully mounted NAS share on Pi with this in fstab: //192.168.0.20/plex /home/piuser/MyNAS cifs username=user,password=pass123 0 0 And can access it without problems.

I have two directories made for Transmission: /home/piuser/MyNAS/torrent_complete

/home/piuser/MyNAS/torrent-inprogress

When I'm trying to start a torrent I get the message: Permission denied (/home/piuser/MyNAS/torrent_complete/movie/Data.bin)

How can I fix this?

 

EDIT: I originally followed this guide and since I now have a NAS, I unplugged the HDD.
https://pimylifeup.com/raspberry-pi-torrentbox/

Edited by megafantastic

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You will need to give permission to transmission to be able to write in these directories. 

First, you need to check who owns the files/folders. Something like the following should get you the right information

ls -l  /home/piuser/MyNAS/

It might be something like pi pi or root root. I recommend not giving the transmission user root rights for security reasons.

Next, you need to give Transmission rights to write in the folders. You can add transmission to a group by running something like.

usermod -aG pi debian-transmission

This should give permission to Transmission, but it will need to be tested. 

Share this post


Link to post
Share on other sites
  • 0

/home/piuser/MyNAS has root root permissions.

 

Transmission is actually running under my main user. If see the guide link I posted, it's changed to run under user of your selection. 

Share this post


Link to post
Share on other sites
  • 0

What's the user for Transmission now? You will need to add it to a group that has permissions to write into the NAS folders. If the Pi user can make directories, files etc. then add the user to the pi group. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×