Hey,
So im new to all of this, not 100% sure if this is the correct place to be posting... Have a few questions, but starting with this one. I installed Sonarr via the apps and can get into it no problem, however when I try add tv shows from my drives which I have mounted and added to my shares etc It says Sonarr does not have permission to write to those folders. I have tried everything I can find on google to give it the correct permissions but nothing seems to work.
I saw on a different thread someone ask for a paste of apaste --sysinfo.... so here is the link:
https://da.gd/SE9L5
Please ask if you require any additional info - Thanks for your help in advance
SOLVED: Sonarr unable to write to shared folders
-
- Posts: 3
- Joined: Mon Jun 05, 2017 11:22 pm
Re: Sonarr unable to write to shared folders
Please provide what permissions are set for the shares you are trying to access.
Typically you can do (replace path-to-shares with actual path):
If you are referring to the default shares, it's /var/hda/files/sharename.
Typically you can do (replace path-to-shares with actual path):
Code: Select all
ls -al path-to-shares
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 3
- Joined: Mon Jun 05, 2017 11:22 pm
Re: Sonarr unable to write to shared folders
Is this what you'd be expecting?
drwxrwxr-x 1 500 users 4096 Jun 4 14:45 drive1
drwxrwxr-x 1 500 users 12288 Jun 4 18:19 drive2
drwxrwxr-x 1 500 users 4096 Jun 1 06:43 drive3
drwxrwxr-x 1 500 users 16384 Jun 3 16:25 drive4
I have mounted 4 drives at these points using this command "" to place the following info:
UUID=1090FA4190FA2D3A /var/hda/files/drives/drive1 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=BC6C7F536C7F0802 /var/hda/files/drives/drive2 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=B484A19F84A16498 /var/hda/files/drives/drive3 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=01D1DD16FEE93390 /var/hda/files/drives/drive4 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
I do not actually know waht eth stuff after the drive number means - perhaps something can be changed there?
Thank you for your reply
drwxrwxr-x 1 500 users 4096 Jun 4 14:45 drive1
drwxrwxr-x 1 500 users 12288 Jun 4 18:19 drive2
drwxrwxr-x 1 500 users 4096 Jun 1 06:43 drive3
drwxrwxr-x 1 500 users 16384 Jun 3 16:25 drive4
I have mounted 4 drives at these points using this command "
Code: Select all
sudo vi /etc/fstab
UUID=1090FA4190FA2D3A /var/hda/files/drives/drive1 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=BC6C7F536C7F0802 /var/hda/files/drives/drive2 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=B484A19F84A16498 /var/hda/files/drives/drive3 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=01D1DD16FEE93390 /var/hda/files/drives/drive4 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
I do not actually know waht eth stuff after the drive number means - perhaps something can be changed there?
Thank you for your reply
[SOLVED] Re: Sonarr unable to write to shared folders
Just a quick note that rather to jump directly unto the void of the Linux command line, the simplest solution here (initially) was to click on Setup > Shares > YourShare > Permissions ... to clear permissions in the share.
I had a moment to debug this. The issue was clear in the first link that the user posted!
However, I dug in and only realized after the fact. The user mounted the drives with fuseblk, which means they are not native linux drives. The fuseblk determines the permission in the mount settings in /etc/fstab (which the user had surmised from web searches and it was working! sans permissions). There was a tiny hint in line 61 where mount.ntfs-3g was listed as a top CPU hog.
I had to re-edit the /etc/fstab for the user (maybe he can post it here, please?) to make the mounts fully writeable. After that, a reboot could have done, or what I did: umount -a && mount -a
I had a moment to debug this. The issue was clear in the first link that the user posted!
However, I dug in and only realized after the fact. The user mounted the drives with fuseblk, which means they are not native linux drives. The fuseblk determines the permission in the mount settings in /etc/fstab (which the user had surmised from web searches and it was working! sans permissions). There was a tiny hint in line 61 where mount.ntfs-3g was listed as a top CPU hog.
I had to re-edit the /etc/fstab for the user (maybe he can post it here, please?) to make the mounts fully writeable. After that, a reboot could have done, or what I did: umount -a && mount -a
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
-
- Posts: 3
- Joined: Mon Jun 05, 2017 11:22 pm
Re: Sonarr unable to write to shared folders
here is the original incorrect lines:
UUID=1090FA4190FA2D3A /var/hda/files/drives/drive1 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=BC6C7F536C7F0802 /var/hda/files/drives/drive2 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=B484A19F84A16498 /var/hda/files/drives/drive3 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=01D1DD16FEE93390 /var/hda/files/drives/drive4 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
And here are the corrected and now working lines:
UUID=1090FA4190FA2D3A /var/hda/files/drives/drive1 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
UUID=BC6C7F536C7F0802 /var/hda/files/drives/drive2 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
UUID=B484A19F84A16498 /var/hda/files/drives/drive3 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
UUID=01D1DD16FEE93390 /var/hda/files/drives/drive4 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
Super big thank you for your help in resolving this with me
UUID=1090FA4190FA2D3A /var/hda/files/drives/drive1 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=BC6C7F536C7F0802 /var/hda/files/drives/drive2 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=B484A19F84A16498 /var/hda/files/drives/drive3 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
UUID=01D1DD16FEE93390 /var/hda/files/drives/drive4 ntfs-3g rw,user,fmask=0113,dmask=0002,uid=500,gid=100,noatime 1 2
And here are the corrected and now working lines:
UUID=1090FA4190FA2D3A /var/hda/files/drives/drive1 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
UUID=BC6C7F536C7F0802 /var/hda/files/drives/drive2 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
UUID=B484A19F84A16498 /var/hda/files/drives/drive3 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
UUID=01D1DD16FEE93390 /var/hda/files/drives/drive4 ntfs-3g rw,user,fmask=0113,dmask=0000,uid=1000,gid=100,noatime 1 2
Super big thank you for your help in resolving this with me
Re: SOLVED: Sonarr unable to write to shared folders
Thanks to cpg for solving this one.
I missed the boat on it
I missed the boat on it
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 59 guests