Filesystem permissions on path /mnt/MainPool prevent access for user "apps"

I have an SMB where I store my movies on which was created before I migrated from CORE to SCALE. Now, I am moving my Jellyfin to my server, so I set the docker up and mounted a folder which is inside the SMB dataset (/mnt/MainPool/SMBtest).
However, Jellyfin can’t see any movies in the folder because it has no permissions. After adding user apps to the dataset, I get this error

[EPERM] Filesystem permissions on path /mnt/MainPool prevent access for user “apps” to the path /mnt/MainPool/SMBtest. This may be fixed by granting the aforementioned user execute permissions on the path: /mnt/MainPool.

However, if I go to /mnt/MainPool, I am unable to change permissions


What would be the best course of action in this scenario? I want to be able to access the Jellyfin library through SMB.

Also, while I’m at it, if anyone knows how to sync folders on a Windows machine to a folder in TrueNAS locally, that would be appreciated.

I found the issue. It was solved by running chmod 771 on the parent path

The permissions on /mnt/MainPool should be 755 generally. It’s quite frankly surprising that anything was working with 770 since that effectively would have cut off access for your storage from everyone who wasn’t root or a member of the wheel group.