I have encountered a problem that I can describe like this.
I have a dataset called “data” inside a zpool called MassData
I have set up an NFS share for this “data”.
Inside the advanced options, I have:
Mapall User = nobody
Mapall Group = nobody
I have an authorized network.
In my storage → pools - I have ACL permissions set as simply:
Owner
User: Nobody
Group: Nogroup
No other ACL. This works fine, my NFS is mounted and shared and accessible by applications.
However, I also have an SMB share. This SMB share requires that you add an ACL to access it via windows through a user.
But first, looking at “getfacl” for the data set reveals these permissions, so we have a starting point.
# owner: nobody
# group: nogroup
owner@:rwxp--aARWcCos:-------:allow
group@:rwxp--a-R-c--s:-------:allow
everyone@:--x---a-R-c--s:-------:allow
This is working with my NFS.
When I go to “Edit Permissions” for ‘data’ and I add ACL, I select the pre-set “Open” and there are items that are created by default:
owner@
group@
everyone@
I then add my user “smbuser”
The problem is then that my NFS fails, nothing has access anymore. SMB works, but NFS does not.
Looking at getfacl I see these results:
# owner: nobody
# group: nogroup
everyone@:rwxpDdaARWc--s:-------:allow
owner@:rwxpDdaARWcCos:-------:allow
group@:rwxpDdaARWcCos:-------:allow
user:smbuser:rwxpDdaARWc--s:fd-----:allow
everyone@:--------------:fd-----:allow
I have no idea why all of a sudden the NFS stops working. Still owned by nobody, has a group nogroup - no permissions have changed anywhere else.
If I go back and strip the ACL - the NFS share works again.
Anyone got any advice?