zfs dataset mountpoint samba write access denied

proxdox

New Member
Dec 17, 2024
2
0
1
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)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!