Recording Permissions issue but i can write to the directory?

Server Version#: 1.40.2.8395
Player Version#: all

Setup
Proxmox with plex server running as a VM and TrueNAS scale running separately as a VM on the same hardware.

I have an issue recording to the NAS:

[Req#da3/Grabber/50d0496c7622cd2e0f1dfbc510845d34d10789c5] Grabber: No write permission.

so my first instinct was i had a permissions issues mounting the cif volume.
for ref my fstab looks like this on my plex server

//192.168.2.218/media_vault /mnt/media_vault cifs uid=3002,gid=3000,credentials=/root/.plexsmbpwd 0 0

and the actual mount permissions seem to match


user=3002 overlea_users=3000

When i go to the mount (/mnt/media_vault) i get the correct folder listing. If i then create a new folder within tvshows i can create the folder without issue. If a create a file i can do so without issues.

I’m not really sure what to check next because to my untrained eye it appears as if it should be saving. Note content within the tvshows directory play without issue.

Can anyone give me some clues on what i should check next?

Oops figure it out.
fstab issue and not understanding the usage correctly.

//192.168.2.218/media_vault /mnt/media_vault cifs uid=3002,gid=3000,credentials=/root/.plexsmbpwd 0 0

the uid and gid where wrong as i was using the user from the nas NOT the plex user on the plex server. You need to assign the cif share to the Plex user on the plex server so it should be

uid=999, gid=999

I suspect the uid should be pretty much the same for all installs but double check run

id plex