Plex DVR “No Write Access” issues

Status
Not open for further replies.

cjastacio

Dabbler
Joined
Sep 14, 2018
Messages
22
Hi all,

I'm cross posting from the Plex forums because I haven't seen an answer over there yet. I have a Plex server running on seperate hardware from my FreeNAS. I can access media from my FreeNAS with Plex just fine via the UI. However, when I try to write to my TVShows directory with the Plex DVR feature, I'm consistently getting a no write access error from Plex.

I've read that if I setup a plex account in FreeNAS with the same UID or add a group with the same GID as my plex group on my plex server, I should be able to write to my TVShows directory.

Here's the details on my plex account on my plex server:

Code:
uid=111(plex) gid=113(plex) groups=113(plex),44(video)


I've matched the UID and GID on my FreeNAS server and the plex group owns my multimedia directory.

Code:
[root@freenas ~]# ls -la /mnt/Household/Media/																					 
total 344																														   
drwxrwxr-x	8 castacio  plex	 8 Sep  7 22:32 .																				 
drwxrwxr-x	5 castacio  ateam	5 Sep  1  2017 ..																				
drwxrwxr-x	3 castacio  plex	 3 Oct 31  2017 AtmosFX																		   
drwxrwxr-x	2 castacio  plex	 2 Sep  7 22:32 DVR																			   
drwxrwxr-x	5 castacio  plex   356 Sep 10 13:49 Movies																			
drwxrwxr-x  250 castacio  plex   357 Aug 24  2017 Music																			 
drwxrwxr-x   15 castacio  plex	15 Aug 26  2017 Pictures																		 
drwxrwxr-x	3 castacio  plex	 3 Apr  3 12:51 TV Shows																		 
[root@freenas ~]# ls -la /mnt/Household/Media/DVR																				   
total 18																															
drwxrwxr-x  2 castacio  plex  2 Sep  7 22:32 .																					 
drwxrwxr-x  8 castacio  plex  8 Sep  7 22:32 ..																					 
[root@freenas ~]# ls -la /mnt/Household/Media/TV\ Shows/																			
total 35																															
drwxrwxr-x   3 castacio  plex   3 Apr  3 12:51 .																					
drwxrwxr-x   8 castacio  plex   8 Sep  7 22:32 ..																				   
drwxrwxr-x  10 castacio  plex  10 Apr  5 17:34 Futurama																			 
[root@freenas ~]# id plex																										   
uid=111(plex) gid=113(plex) groups=113(plex),1003(ateam)


Finally, the fstab setup on my Plex server is not using the plex account I setup in FreeNAS. It's using the castacio account but the two accounts have the same permissions on the share as they are in the same group.

Can someone tell me what I'm doing wrong here? I would like to have the Plex DVR write to my FreeNAS share.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630

cjastacio

Dabbler
Joined
Sep 14, 2018
Messages
22
I think what you're referring to in that thread is the fact that the directories aren't owned by the user or group that is trying to write to them?

On my Plex server I've created a /shares/media directory and changed the ownership to castacio: plex as suggested in the thread. The issue is that when I mount my freeans share to that directory my plex server shows that the folders under are owned by root:root and of course I still can't touch them.

Code:
castacio@plex:~$ ls -al /shares/
total 8
drwxrwxr-x  3 castacio plex 4096 Sep 17 20:39 .
drwxr-xr-x 24 root	 root 4096 Sep 17 20:39 ..
drwxr-xr-x  2 root	 root	0 Sep 17 20:56 media

 

cjastacio

Dabbler
Joined
Sep 14, 2018
Messages
22
Status
Not open for further replies.
Top