Hello,
I've TrueNAS installed as a VM in Proxmox. (Disks attached directly via HBA PCIe passthrough)
Then I've setup a SMB share and mounted that via Proxmox GUI.
Now I want Proxmox to backup all the VMs (except TrueNAS VM itself) to this SMB share.
But I can't. The process freezes after some time. (For more information see here)
Permissions with TrueNAS and especially with SMB / ACLs are a bit overwhelming to me and I wanted to take a deeper look into it after my basic setup is running so I can do stuff now and optimize later.
Could you just tell me if I did this right and if my backup problem could be a permission issue?
Here's what I did:
/mnt/TANK/Backup
Options: Sync: Always, Exec: Off, Atime Off, ACL Passthrough
ACL: (owned by root:wheel) Group "folder_backup" allow traverse inherit
/mnt/TANK/Backup/Proxmox
Options: Inherit
ACL: (owned by root:wheel) Group "proxmox" allow modify inherit
The user accessing these shares is "proxmox" with primary group "proxmox".
He is also in "folder_backup" group.
I can mount that share on Proxmox and if I go to that share in the terminal I can do rw actions.
However permissions look a bit weird to me:
Why does group not have write permissions but everyone can execute??
I've TrueNAS installed as a VM in Proxmox. (Disks attached directly via HBA PCIe passthrough)
Then I've setup a SMB share and mounted that via Proxmox GUI.
Now I want Proxmox to backup all the VMs (except TrueNAS VM itself) to this SMB share.
But I can't. The process freezes after some time. (For more information see here)
Permissions with TrueNAS and especially with SMB / ACLs are a bit overwhelming to me and I wanted to take a deeper look into it after my basic setup is running so I can do stuff now and optimize later.
Could you just tell me if I did this right and if my backup problem could be a permission issue?
Here's what I did:
/mnt/TANK/Backup
Options: Sync: Always, Exec: Off, Atime Off, ACL Passthrough
ACL: (owned by root:wheel) Group "folder_backup" allow traverse inherit
/mnt/TANK/Backup/Proxmox
Options: Inherit
ACL: (owned by root:wheel) Group "proxmox" allow modify inherit
The user accessing these shares is "proxmox" with primary group "proxmox".
He is also in "folder_backup" group.
I can mount that share on Proxmox and if I go to that share in the terminal I can do rw actions.
However permissions look a bit weird to me:
Code:
root@proxmox:/mnt/pve/backup/test# ls -al total 18 drwxr-xr-x 2 root root 0 Nov 7 09:54 . drwxr-xr-x 2 root root 0 Nov 7 09:53 .. -rwxr-xr-x 1 root root 10240 Nov 7 09:54 test2.html -rwxr-xr-x 1 root root 20480 Nov 7 09:54 test.tar -rwxr-xr-x 1 root root 6 Nov 7 09:53 test.txt
Why does group not have write permissions but everyone can execute??