olafbeserka
Cadet
- Joined
- Jun 16, 2022
- Messages
- 7
Not sure what happened but one day my SMB shares weren't working. I ended up stripping the ACLs, creating a new user/group, and then adding that new user/group to the pools. I wasn't able to find the shares via netbios name, but that was solved when I enabled NetBIOS under Network>Global Configurations.
So now I am able to see my two SMB shares. One I can access, but the other give me an error that I do not have permission to access it. I have tried using the IP address as well as mapping it with the new credentials I created. I checked permissions and found that the owner for the pool I am trying to access is still Root, pool named freenas10tb. So I am unsure how to get the owner to change to "home." I have tried multiple time to assign it to user "home" with Apply Permissions Recursively.
So now I am able to see my two SMB shares. One I can access, but the other give me an error that I do not have permission to access it. I have tried using the IP address as well as mapping it with the new credentials I created. I checked permissions and found that the owner for the pool I am trying to access is still Root, pool named freenas10tb. So I am unsure how to get the owner to change to "home." I have tried multiple time to assign it to user "home" with Apply Permissions Recursively.
Code:
root@freenas[/mnt]# getfacl freenas10tb
# file: freenas10tb
# owner: root
# group: guest
owner@:rwxpDdaARWcCos:fdi----:allow
group@:rwxpDdaARWcCos:fdi----:allow
everyone@:--------------:fdi----:allow
owner@:rwxp--aARWcCos:-------:allow
group@:rwxp--a-R-c--s:-------:allow
everyone@:------a-R-c--s:-------:allow
root@freenas[/mnt]# getfacl fn2
# file: fn2
# owner: home
# group: guest
owner@:rwxpDdaARWcCos:fd-----:allow
group@:rwxpDdaARWcCos:fd-----:allow
everyone@:--------------:fd-----:allow