[solved] Samba and Sonarr access to same folders

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
tuaz
Posts: 2
Joined: Tue Jul 17, 2018 1:43 pm

[solved] Samba and Sonarr access to same folders

Post by tuaz »

Hello

So i have install sonarr and samba and made folder from my external hdd samba main folder and i want to make sonarr use the same folder but i get this error : Folder is not writable by user sonarr.
Is there some way to make sonarr have permissions to the same folder ?

So i have fixed my first problem now


And another problem i have is there a way to get access to samba server from remote location?
is setting a vpn the smartest option ?

I am completely new to linux and setting up servers
Last edited by tuaz on Sun Jul 22, 2018 2:18 pm, edited 1 time in total.
tuaz
Posts: 2
Joined: Tue Jul 17, 2018 1:43 pm

Re: Samba and Sonarr access to same folders

Post by tuaz »

I got my problems solved :)
User avatar
MichaIng
Site Admin
Posts: 2293
Joined: Sat Nov 18, 2017 6:21 pm

Re: [solved] Samba and Sonarr access to same folders

Post by MichaIng »

Great to here you already solved it.

About permissions, in such cases it is best to add the software run user, which needs permissions, to the group of the directory owner group. By default on DietPi this would be usermod -a -G dietpi sonarr to allow Sonarr write to the default samba share.

About samba via internet:
Theoretically it's possible to share SMB and NFS via internet, but it is definitely no recommended, as these network file servers do not handle latencies and broken connections very well. If you would want to do it regardless, then yes I think a VPN is safest then.

But usually there are better protocols, made for file transfer via internet. Depending on the control and complexity you want, have a look at:
- File browser (not yet implemented into dietpi-software, but very easy to install): viewtopic.php?f=12&t=4008
- Syncthing: viewtopic.php?f=8&t=5&start=70#p2363
- Nextcloud: viewtopic.php?f=8&t=5&p=3026#p3026 or ownCloud: viewtopic.php?f=8&t=5#p47
Post Reply