Super new user here. I’m trying to set up Jellyfin on TrueNAS Scale, and I’ve managed to create an SMB share that I can copy movies from Windows to the NAS. However, although the owner and group appear to be correct, the file permissions are defaulting to 770. I can change them manually from TrueNAS CLI, but that’s annoying to do for each new file.
Apparently I need to somehow adjust the share parameters to have ACL mode be inherit, but I don’t know how to do that. Is this the correct solution and how do I go about doing that?
The best way to have ACLs inherit is to have the ACL type of dataset set to NFSv4, set the ACL entries you want for groups you want to access the share, and make sure they have INHERIT set (apply recursively). ZFS does the hard work of determining inherited ACL for you.
Okay, thanks for the help. I am changing the dataset ACL type from POSIX to NFSv4. What should I change the ACL mode to? If I set it to Inherit, it says “[EINVAL] pool_dataset_update.aclmode: DISCARD aclmode may not be set for NFSv4 acl type”. So I’m assuming this is not the right place to put Inherit (it’s inheriting the mode as discard).
Edit: Further, can you advise where to set the ACL entries and what that should look like? I have a user “stuart” which is the owner of the share, and Jellyfin is using the “apps” user. I’m accessing the SMB share from Windows with the “stuart” user.
Okay, I think it’s working… I set the ACL mode to Restricted, and used the ACL Preset NFSv4-HOME and added the apps user with Modify permissions. Not sure if that was necessary, but Jellyfin seems to have access to new files. Thanks!