Help with Permissions for Plex and SMB

Hi All,
I an new to Truenas Scale and I am running into a couple of problems with permissions.
I have installed Plex and created Datasets for the movies and TvShow folders.
I can see the folders in my Windows PC via my network but I don’t have the permissions to access them and add files to the folders etc.

I am also having an issue with User permissions in Plex to access the data. I tried setting up an ACL following this guide “Setting ACL Permissions for Jailed Applications | TrueNAS Documentation Hub” but I cant get it to work. Says it cant find Plex 972 or something like that.

I would really appreciate some help.

Thank you.

You need to provide details on your datasets and how you set up SMB sharing. How do you have Plex mapped for it’s access, etc.

@SmallBarky Thank you. I am new to this so still learning.

These are my datasets:

These are my current permissions:

I don’t currently have any ACL’s setup as when i tried following a tutorial it would not work for me.

These are my users:

These are my shares:

Not sure what else members might need to help me with this but I am happy to post anything you need.

Thank you again.

If you look under the Users tab and then ROOT, you should see that SMB sharing isn’t allowed.

Screenshot from TrueNAS Core 13 but Scale should be similar. Root showing Samba Authentication : False. I have a separate user SMBUSER set up that owns my child dataset set up for SMB sharing. Having ROOT as owner may be the problem

1 Like

Unfortunately you have been using a guide for TrueNAS CORE, which runs Plex in a jail. TrueNAS Scale uses a different method from jails and uses Apps instead, so the guide may not be accurate.

Generally, you should get your Windows SMB share working with full permissions for you as a user first, before setting up Plex to access the folders. Do you have that sorted at the moment, and can create, add and delete media files yourself from the folders?

It is not mentioned in your screenshots, but normally when setting up the SMB share you should have the share as a group before setting up yourself as a user of it.

@SmallBarky Thank you for your reply.
If you are saying root as the owner might be there problem what should I have the User and Group set as?

@imkidd57 Thank you. Is there a guide on how to do this?
I have one SMB share working fine which is the HaztisNas one but the SMB share for Plex is the one giving me problems. Not sure how to set the permissions properly.
Any help would be greatly appreciated.
Thank you.

The Documentation

Thank you @SmallBarky .
I am trying to follow the documentation but finding it tricky as it doesn’t explain it well enough for a noob.
Not sure why I can access the Haztis_Nas folders but not the plex ones.

Can you explain how to grant access to the Plex folder. I think once I have access to the Plex folder in Windows I can then move media across and Plex will finally work for me.

Thank you.

Have you compared the permissions on the two different shares? Any differences you can see? I don’t have a Scale setup and will probably wait for another user to reply.

Thank you. I did trhat and when I set them the same I got this message:

Not sure what to do.

I’m genuinely trying to help here and not just be snarky, but did you read the error message and try to do what it tells you to do?

Yes, I did and I have been trying everything for the last 2 days.
I cant figure out where I have gone wrong. I am sure it’s something simple but not sure what.
Do you know how to do what the error message is asking, please?

Add an ACL entry on /mnt/Storage Pool/Haztis_NAS to give the “apps” user at least execute permissions (you can select Full Control in the basic permissions editor)

I did as you suggested.

But i still can’t copy anything to the plex folder in windows.

What are you trying to show with the above screenshot? You have Haztis_NAS selected and we can’t fully see all the Details on the right?

Also, did you try rebooting both machines, TrueNAS and Windows?

I was trying to show that I created the User - Apps as DjP-iX suggested as you can see on the right of the screenshot.
I have restarted TrueNas but not windows and will do that now.
Thanks

Try browsing the other, recent posts about Plex, permissions and issues.

If you are not an expert user (like me) and have an SMB share working with full permissions (create folders, delete folders, copy files, delete files etc) then you can add your Plex media folders in that share instead of trying to create another separate one. Make a subfolder called ‘Plex’ within the main share, and then the usual Plex media folders within that (‘Films’, ‘Audio’, ‘Recordings’, etc). Thoroughly check that you can manipulate the files within the Plex folder manually, before installing Pex as an app.

For the Plex install, I found the following guide very useful. It is for a whole TrueNAS Scale install, then setting up an SMB share, then finally installing Plex as an app. You will need to pick up at the right point in the guide for the Plex bit but it’s also useful if you need to backtrack and change some parameters of the SMB share to Windows.

I made an adapted version of the guide for my own use - more or less clarifying various steps in the above one - which I’m happy to post if you can’t get on with the original.

Two things to check:

1: Which user are you logging into the SMB share on Windows as? That user needs to have permissions on both Haztis_NAS and Plex.
2: You added apps to the parent dataset, but did you do so recursively or did you then go and manually add an entry for apps in Plex?