I seem to be stuck pretty hard here Making the samba share. I’ve tried every witch way and I always end up with no write access. I have added the h8750 credentials to credential manager. What could I be missing here.
[test22]
path = /mnt/dump/dataset
browseable = yes
guest ok = no
writeable = yes
write list = h8750
read only = no
create mask = 0775
directory mask = 0775
vfs objects = shadow_copy2
shadow: snapdir = .zfs/snapshot
shadow: sort = desc
shadow: format = zfs-auto-snap_%S-%Y-%m-%d-%H%M
shadow: localtime = yes
I see the issue here. I don't know how to fix this. The user permissions are not taking at all.
root@Tower:/mnt/dump# ls -la
total 3
drwxr-xr-x 6 root root 6 Jan 12 18:43 ./
drwxr-xr-x 6 root root 120 Jan 12 21:45 ../
drwxr-xr-x 2 root root 2 Jan 12 18:35 dataset/
drwxr-xr-x 2 root root 3 Jan 12 18:37 docker/
drwxr-xr-x 2 root root 2 Jan 12 18:43 isos/
drwxr-xr-x 3 root root 3 Jan 12 18:42 vms/
After some more poking around I found this to help
chown nobody:users /mnt/dump
chown nobody:users /mnt/dump/dataset
And
chmod 775 /mnt/dump/
chmod 775 /mnt/dump/dataset