ZFS on Ubuntu help

I have managed to create a zpool and dataset within the zpool but when i try and create a network share for the dataset it prompts me i am not the owner of the folder even though i am signed in as root and was the one who created. I was wondering if there was a walk through tutorial for all of this. The only ones i can find are ones where it shows how to install zfs and create pools but doesnt show how to share pools and datasets over the network

Try:

sudo zfs set sharenfs=on path/to/directory

To do that, you’re also gonna need this package:

nfs-kernel-server

you still have to set folder ownership and all that jazz.
try.
chown -R user:group /Shared/folder/path
chmod -R 775 /shared/folder/path(Come up with your own rights here)
chmod -R g+w /shared/folder/path(so any one in the group has read/write accessto filers)
im guessing your working with a smb share here, but either way if a wrong user attempts to write in the
folder he’ll be rejected.

What? You should not be, nor need to be.

Are you sharing with samba or NFS?

Which ubuntu?
Which permissions are on the host? And what do you have as permission through the share?
Nfs? Cifs?

Sorry didn’t mean root but just meant my main user. Still new to all this and trying to use samba due to all clients will be windows not linux