setfacl of /mnt/tank

semson

Cadet
Joined
Nov 12, 2020
Messages
7
Hi everyone,
My SMB share isn't working properly. After some investigation I believe ACL of /mnt/tank could be the cause.

First here is ACL of the pool that isn't working:
root@truenas[~]# getfacl /mnt/tank # file: /mnt/tank # owner: root # group: wheel owner@:rwxp--aARWcCos:-------:allow group@:rwxp--a-R-c--s:-------:allow everyone@:------a-R-c--s:-------:allow

I setup a new working pool for which ACL are:
root@truenas[~]# getfacl /mnt/tank # file: /mnt/tank # owner: root # group: wheel owner@:rwxp--aARWcCos:-------:allow group@:r-x---a-R-c--s:-------:allow everyone@:r-x---a-R-c--s:-------:allow

Can someone help me to clone the same ACL as the working one? I am aware the setfacl cmd but it is a bit difficult for me. Thank you.
 
Last edited:

semson

Cadet
Joined
Nov 12, 2020
Messages
7
I tried using winacl to clone the ACL but it doesn't work.

root@truenas[/]# winacl -a clone -s /mnt/tanktest -p /mnt/tank winacl: /mnt/test2: acl_set_file() failed: Operation not supported
 

semson

Cadet
Joined
Nov 12, 2020
Messages
7
Alright, I figured it out. A simple chmod 755 /mnt/tank fixed it. This pool is imported instead of creating under the same machine, this could be the cause of incorrect permission.
 
Top