I am having a problem with my Ubuntu 18.04 server, running Plex. I have the DVR configured to send shows to my TV Shows library, but each time I try to record something, I get the dreaded “No write access to destination” error message. Before I get the 200 responses that say, “did you do a search in the forums?”, yes. Here’s what I have:
Plex is running as a VM on an ESXi server. Ubuntu 18.04 is the OS for the VM, and it has a 100GB drive for sda (boot, binaries, and all other essential Linux stuff) and a 2.5TB drive for sdb (Plex media library).
sdb1 is mounted as /Plex as follows: /dev/sdb1 on /Plex type ext4 (rw,relatime,data=ordered)
/Plex has the following permissions: drwxrwxrwx+ 12 root plex 4.0K Mar 8 18:40 Plex
TV shows are stored in a subdirectory /Plex/TV Shows, which has the same permissions as /Plex
I have done some additional troubleshooting. Namely, I have confirmed that the plexmediaserver service is running as the plex user. The plex user is a member of the plex group. From the CLI, I can do a ‘sudo -u plex’ and create files, delete files, rename files in the /Plex/TV Shows directory.
Anyone have any other ideas? It doesn’t appear to be a permissions issue, the mount is writeable, but I still can’t record anything…
user and group are both set to plex, owner of the folder is also plex. Directory attributes are drwxrwxrwx+ (yes, I know that this is abnormally WIDE open to everyone, but in my efforts to troubleshoot, I wanted to eliminate permissions as a possible source of problems.)
This is ridiculously frustrating. I’ve had this working in the past, but for the life of me, I can’t get it to work!
I think I figured it out. So, while the DIRECTORY permissions were fine (actually, a bit OVER permissive), there was a subfolder within my TV Shows library that was named ‘.grab’
This folder had incorrect permissions on it. Since I didn’t have any existing recordings to worry about, I deleted the folder and tried recording again. Viola! It’s working great!