zfs dataset mountpoint samba write access denied

proxdox

New Member
Dec 17, 2024
15
2
3
Hi,

I know barely enough to make my life difficult and yes, searched, read, tried many steps found here and elsewhere.

Essentially, mounting a mirrored zfs dataset in a container to run Samba file sharing.

Saw this guide: https://blog.kye.dev/proxmox-zfs-mounts and followed it.


Next steps:
  1. Created a user "jack" in the container, added the mapped group "nas_shares" (and even "root" group to test).
  2. Login container with user "jack", unable to create/write to mount point while it was possible with "root" user.
  3. UID of "jack" is 1001 while UID of mapped user "nas" is 1000 in container.
Is this the reason for no write access even though the "nas_shares" group is added?
Does each user require a mapping back to host?
If so, this could get out of hand quickly if more users are added!

Where am I going wrong or refusing to see / accept?

thanks!
 
Last edited:
Figured it out finally.

Cockpit-File-Sharing + identities some how made the simple thing worse!
basically, the smb sharing got messed up.

Started with a new container, manually added all shares, users, permissions and smb conf.
Works perfect!

(leaving this for anyone who might find it useful in their troubleshooting)