Hello everyone,
As of late I’ve been having a whole host of issues with permissions or user access on my Core server. As far as I can tell from reading previous posts, following guides, and reading the documentation, I’m doing things correctly, but regardless I’m having difficulty accessing my data. I think the issue is probably related to years of improper use from when I didn’t know any better, but the problem is now I don’t know how to fix things!
I have a dataset “dead” and then some child datasets under it, “Music”, “Documents”, and “Photos”, among others. I’ve been using a smb share to access the root dataset (which seems to be a poor choice, from what I’ve found online.) I’ve been using a user “Jon” to access the share. However, I can only access the share if the user is a member of the wheel group. This is how the user has been for a while now (I dont know why) and no matter what I do with ACL permissions, it seems to remain a requirement. Right now, all of my child datasets have the same permissions/ACL, but I cant delete or modify files in one of them.
I’ve tried stripping ACLs and reapplying them with the owner/group as “Jon”, I’ve tried mounting just the child datasets, I’ve tried stripping all ACLs from all datasets and reapplying, I’ve even tried different ACL permissions. I’ve also tried new smb shares, in case there was a problem there. I’ve had the pool and datasets I’m trying to access for almost 10 years now and migrated them over from FreeNAS, and they’ve been through a number of versions of TrueNAS as well. I’ve had this server for a long time and leaned a lot with it, but I’m sure I’ve made mistakes at some point. I think there may have been a point where I modified permissions in shell, but I cant recall for sure.
I’ve spent close to 8 hours trying to fix this on my own and I’m good and stuck now. I’d just like to get this to a point where I can have one or two users accessing the data, with correct permissions and ownership for those datasets. I’m happy to share more information and screenshots of my ACLs or user setups, I just dont know what would be best to include so I wanted to wait and see what would be needed before going nuts with it. I’m losing my mind over this and I’d appreciate any help!