Glorious1
Guru
- Joined
- Nov 23, 2014
- Messages
- 1,211
Nice test. I'm not that familiar with ACLs, but I suspect that, even though you changed to Unix, there are residual SMB effects.Code:[freenasuser@freenas ~]$ getfacl /mnt/freenaspool/Media/test/a # file: /mnt/freenaspool/Media/test/a # owner: freenasuser # group: freenasgroup owner@:rwxpDdaARWcCos:------I:allow group@:rwxpDdaARWcCos:------I:allow everyone@:r-x---a-R-c---:------I:allow
If you don't have anything in the dataset yet, the easiest thing would be to destroy it and recreate it with all Unix permissions at the start.
If that is a problem, just try creating a test dataset that is Unix from the start, and try the same test.
As a last resort, you might try removing all ACLs with
setfacl -bk
Your output has the 'I' at the end, meaning the ACLs are inherited. You might have to do that setfacl command on both Media and Media/test.
Note that there are two places in the FreeNAS GUI to set permission/share type, and I've never quite understood why. When you're looking at your datasets in the Storage>Volumes pane, and you select your dataset, there is Edit Options > Share Type, and then there is Change Permissions > Permission Type.