Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sonarr permissions issues when importing

Featured Replies

Anyone have this issue? I noticed this with SOME not all TV Shows. I did get this working with NOT the best solution...
Set PUID PGID to 0.

Anyone have a better solution we should be setting our Docker Containers to make our apps work better?
 

Quote

 

[v3.0.9.1549] System.UnauthorizedAccessException: Access to the path '/media/tv-shows/xxxxxxxxx/Season 5' is denied. ---> System.IO.IOException: Permission denied

--- End of inner exception stack trace --- at System.IO.FileSystem.CreateDirectory (System.String fullPath) [0x00192] in /build/mono/src/mono/external/corefx/src/System.IO.FileSystem/src/System/IO/FileSystem.Unix.cs:319 at System.IO.Directory.CreateDirectory (System.String path) [0x0002c] in /build/mono/src/mono/external/corefx/src/System.IO.FileSystem/src/System/IO/Directory.cs:40 at NzbDrone.Common.Disk.DiskProviderBase.CreateFolder (System.String path) [0x00047] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Disk\DiskProviderBase.cs:190 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.CreateFolder (System.String directoryName) [0x00079] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:203 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.EnsureEpisodeFolder (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Tv.Series series, System.Int32 seasonNumber, System.String filePath) [0x00098] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:173 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.EnsureEpisodeFolder (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.String filePath) [0x00000] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:146 at NzbDrone.Core.MediaFiles.EpisodeFileMovingService.CopyEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode) [0x00026] in M:\BuildAgent \work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\EpisodeFileMovingService.cs:86 at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeEpisodeFile (NzbDrone.Core.MediaFiles.EpisodeFile episodeFile, NzbDrone.Core.Parser.Model.LocalEpisode localEpisode, System.Boolean copyOnly) [0x0019b] in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:73 at NzbDrone.Core.MediaFiles.EpisodeImport.ImportApprovedEpisodes.Import (System.Collections.Generic.List`1[T] decisions, System.Boolean newDownload, NzbDrone.Core.Download.DownloadClientItem downloadClientItem, NzbDrone.Core.MediaFiles.EpisodeImport.ImportMode importMode) [0x0029b] in M:\BuildAgent\work\63739567f01dbcc2 \src\NzbDrone.Core\MediaFiles\EpisodeImport\ImportApprovedEpisodes.cs:109

 

 

Edited by gregzee

  • Author

Looks like the folder that was created was root
but the files that were hardlinked were under NoBody.

... Making sense now. Why would the folder be root., no wonder permission was denied


 

drwxrwxrwx 1 root root 4096 Feb 14 19:48 Season\ 5/
-rw-rw-rw- 2 nobody users 2969419154 Feb 14 18:27 Episode 1
-rw-rw-rw- 2 nobody users 2732805129 Feb 14 18:28 Episode 2
-rw-rw-rw- 2 nobody users 2792512617 Feb 14 18:29 Episode 3
-rw-rw-rw- 2 nobody users 2890155032 Feb 14 18:29 Episode 4
-rw-rw-rw- 2 nobody users 3003808697 Feb 14 18:30 Episode 5
-rw-rw-rw- 2 nobody users 3041230430 Feb 14 18:31 Episode 6
-rw-rw-rw- 2 nobody users 2985755665 Feb 14 18:31 Episode 7
-rw-rw-rw- 2 nobody users 2731705838 Feb 14 18:32 Episode 8
-rw-rw-rw- 2 nobody users 2577324178 Feb 14 18:33 Episode 9
-rw-rw-rw- 2 nobody users 2692946987 Feb 14 18:33 Episode 10
-rw-rw-rw- 2 nobody users 3087408608 Feb 14 18:34 Episode 11
-rw-rw-rw- 2 nobody users 2876271427 Feb 14 18:35 Episode 12
-rw-rw-rw- 2 nobody users 2704311666 Feb 14 18:35 Episode 13

 

The general rule is to use nobody:users for container, and fix permissions so that actual share has same

  • Author
53 minutes ago, apandey said:

The general rule is to use nobody:users for container, and fix permissions so that actual share has same


Is there any youtube or wiki on this? I was under the impression I do this, but it fails everytime I try to import...

PUID 99
PGUID 100 was the standard.

Edited by gregzee

1 hour ago, gregzee said:

PUID 99
PGUID 100 was the standard.

This is correct. What exactly is the error you get. Where is your mount path and is it writable by nobody:users? If not you need to fix permissions before starting the container. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.