Plex did not create a linux user for itself?

The DVR is set to record into /media/NGMEDIA/NugTV.

It then wants to record a program.

It wants to create a .grab directory there for capturing the stream but
because it has no permission in one or all of

/media
/media/NGMEDIA
/media/NGMEDIA/NugTV

it reports it can’t capture – which is true.

Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Subscription: No existing library item episode 'grandparentGuid: plex://show/61db7f42843977430b6d30fa grandparentThumb: https://metadata-static.plex.tv/2/gracenote/21c1cecdb6d43a386be4fdb587b48813.jpg grandparentTitle: The Nutcracker and the Mouse King grandparentYear: 2021 guid: plex://episode/63940fe7407512037d502636 originallyAvailableAt: 2022-12-23 parentGuid: plex://season/61db7f42843977430b6d30fa/2022 parentIndex: 2022 parentTitle: Season 2022 ratingKey: plex%3A%2F%2Fepisode%2F63940fe7407512037d502636 title: The Nutcracker and the Mouse King type: 4 year: 2022'
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Grabber: checking for 2182 MB of available disk space in grab path and 100 MB in the transcode cache path
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] IsOnSameVolume: failed to stat "/media/NGMEDIA/NugTV/.grab": No such file or directory
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] ERROR - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Failed to calculate available disk space for path '"/media/NGMEDIA/NugTV/.grab"': 2 (No such file or directory)
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Grabber: Saving recording to "/media/NGMEDIA/NugTV/.grab/0a2ffe95531660cc3bc606265b5c18c9842e2d0c-280b79264d6e1a64340a84af01ed505f6855b863"
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] ERROR - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Grabber: No write permission.
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Grabber: Operation for 'The Nutcracker and the Mouse King - The Nutcracker and the Mouse King' on channel 5fc76b89088e7d002d651249-5fc705f87c6557002ee1eb7e completed with status error (No write access to destination)
Dec 23, 2022 22:14:01.731 [0x7f5bac43ab38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Activity: Ended activity c984a947-3071-4fde-8e13-c64f72da587d.
Dec 23, 2022 22:14:01.731 [0x7f5bab157b38] DEBUG - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Activity: updated activity 50dd965a-ab8b-4d48-9844-5b0f5b1e9b6b - completed 100.0% - Refreshing Sub
Dec 23, 2022 22:14:01.732 [0x7f5bac43ab38] ERROR - [Grabber/0a2ffe95531660cc3bc606265b5c18c9842e2d0c] Starting media grab failed.

Where you need check is if:

  1. plex has read-execute on /media
  2. plex has read-write-execute on /media/NGMEDIA
  3. keep going all the way into where .grab is created under NugTV where it also needs read-write-execute.

Here’s the How-To about getting DVR permissions correct on Linux.