I have a Raspberry Pi with a 2TB SSD on which I store all of my media. That media sits in a directory that is capable of being mounted on other computers via NFS.
I have that directory mounted on another computer via NFS in /mnt. I am able to create directories, create files, move files there, and they show up instantaneously on the Raspberry Pi (I do this without sudo because I gave my user write permissions via chown).
However, when I attempt to download a torrent via Transmission and have it automatically save to the NFS-mounted share, it does so for a few seconds, then gives me one of the two following errors:
Error: Permission denied (/mnt/....)
or
Error: Read-only filesystem (/mnt/....)
My Transmission Daemon user is set up to be my normal user.
Anybody have any ideas? I followed these three tutorials to set it all up:
- https://pimylifeup.com/raspberry-pi-transmission/
- https://pimylifeup.com/raspberry-pi-nfs/
- https://pimylifeup.com/raspberry-pi-nfs-client/
Thank you in advance for any help you can provide.
Who owns the mount point under /mnt? If it’s owned by root you could try changing ownership of it to your user
Okay I managed to solve it with two things:
- in settings.json, changed umask from 18 to 2.
- in settings.json, changed incomplete dir from true to false (it didn’t seem to like ANYWHERE that i put this so I just said screw it, let’s not have one, it’s not that big of a deal)
I tried changing it just now to me and got this error:
[username]@[hostname]:~$ sudo chown -R [username]:[username] /mnt chown: changing ownership of '/mnt': Read-only file system
Is there a way to make it writeable? Is that something I even want to do?
Impressive, how did you set that up?
Good luck too btw 👍