My Plex server is in an Ubuntu Server VM on a Windows host. All of my media is stored in Windows and accessed by Plex via mounted Samba shares, and everything works fine with media I have saved there. I created a folder to store DVR recordings on the shared drive, but Plex cannot write to it. I’ve tried changing ownership of the folder to the plex user but it doesn’t change anything, the folder is still owned by my user.
I’m at my wits end, any ideas?
Firstly, it’s important to understand that accessing content across a network with Windows involves two levels of permissions - network level and user level. The resulting permissions that a user gets is a combination of the more restrictive of their individual permissions and the network permissions.
You can test write access by sudo’ing to the Plex user and attempting to create a file on the drive / share. Make sure that the share itself provides write access across the network (in the Sharing controls) and the user that’s accessing the share has write permission within the directory.