Adding a new user removes ACLs on home folder.


Nov 17, 2014
Hi All,

I'm on TrueNAS-12.0-U6.1

I have the home share dataset set with the following permissions/ACLs:
root@sunfish[/mnt/tank]# getfacl home
# file: home
# owner: root
# group: wheel

Set via the Set permissions screen on the UI as:

Screenshot 2021-12-08 at 10.47.37.png

When I go and add a new user or even edit an existing user it stips the ACLs of the user folder I am adding/updating:
root@sunfish[/mnt/tank/home]# ls -la
total 148
drwx--x--x+ 7 root     wheel   7 Dec  7 16:29 .
drwxr-xr-x  8 root     wheel   8 Dec  7 15:43 ..
drwx--x--x+ 3 bradley  staff  11 Dec  7 15:27 bradley
drwx--x--x+ 2 lewis    staff   9 Dec  7 16:11 lewis
drwx--x--x+ 3 rob      staff  10 Dec  7 14:58 rob
drwx--x--x+ 2 rowan    staff   9 Dec  7 15:59 rowan
drwx--x--x  3 scott    staff  14 Dec  8 10:43 scott

Here the ACLs were stripped from the `scott` user after just updating their password via the UI. The same thing happens if I create a new user. A folder is created but it is created with no ACLs. To restore I have to go back to the Set Permissions UI and reapply them every time I update/add a user. Is this a bug or intended behavior? Am I doing something wrong? The ACLs are set to inherit so if I go and create the folder myself the ACLs are present and correct. Just when the UI creates or edits a users folder it strips ACLs any only applies the chmod set in the users profile.