I have no idea when this started for me but I only noticed it at least since updating to the latest beta. Currently running
TrueNAS-SCALE-21.08-BETA.1
I have the following users and groups set up that are pertinent to this:
User: Stevo
Group: Residents
My Shared Media dataset has the following Unix ACL. I did the Strip ACL process right before this to ensure nothing was being messy from the update:
Owner: Stevo. Permissions: RWX
Group: Reisdents. Permissions: RWX
Everyone Permissions: R-X
I selected recursive permissions setting and traverse.
My SMB share for Shared Media is at default share setting. The dataset ACL mode is set to restricted, though at this time there is no ACL set.
As far as I can tell, all files and folders that already exited when I did the strip and reset look as expected. Example contents of folder Shared Media\chd:
truenas# ls -la
total 1148
drwxrwxr-x 2 TRUENAS\stevo Residents 7 Oct 2 04:37 .
drwxrwxr-x 28 TRUENAS\stevo Residents 122 Sep 30 16:41 ..
-rwxrwxr-x 1 TRUENAS\stevo Residents 71 Dec 24 1996 'chdman - CUE or GDI to CHD.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to CUE.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to GDI.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 2023424 Sep 24 2019 chdman.exe
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Oct 8 2019 convert_to_chd.bat
Now this is what happens as soon as I copy something over to that location.
truenas# ls -la
total 1155
drwxrwxr-x 2 TRUENAS\stevo Residents 8 Oct 2 04:39 .
drwxrwxr-x 28 TRUENAS\stevo Residents 122 Sep 30 16:41 ..
-rwxrwxr-x 1 TRUENAS\stevo Residents 71 Dec 24 1996 'chdman - CUE or GDI to CHD.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to CUE.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to GDI.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 2023424 Sep 24 2019 chdman.exe
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Oct 8 2019 convert_to_chd.bat
-rw-rw-rw- 1 TRUENAS\stevo builtin_users 5067 Aug 16 2020 gistfile1.txt
Not only is it not setting the permissions correctly, it is changing the group to builtin_users which I have not even configured or until today knew existed.
Any help would be greatly appreciated.
Edit: Forgot to clarify, I am adding this file from Windows logged in as user Stevo, with the same password as the truenas account and my user is also a member of the Residents group, so it should have Full Control permissions twice over.
TrueNAS-SCALE-21.08-BETA.1
I have the following users and groups set up that are pertinent to this:
User: Stevo
Group: Residents
My Shared Media dataset has the following Unix ACL. I did the Strip ACL process right before this to ensure nothing was being messy from the update:
Owner: Stevo. Permissions: RWX
Group: Reisdents. Permissions: RWX
Everyone Permissions: R-X
I selected recursive permissions setting and traverse.
My SMB share for Shared Media is at default share setting. The dataset ACL mode is set to restricted, though at this time there is no ACL set.
As far as I can tell, all files and folders that already exited when I did the strip and reset look as expected. Example contents of folder Shared Media\chd:
truenas# ls -la
total 1148
drwxrwxr-x 2 TRUENAS\stevo Residents 7 Oct 2 04:37 .
drwxrwxr-x 28 TRUENAS\stevo Residents 122 Sep 30 16:41 ..
-rwxrwxr-x 1 TRUENAS\stevo Residents 71 Dec 24 1996 'chdman - CUE or GDI to CHD.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to CUE.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to GDI.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 2023424 Sep 24 2019 chdman.exe
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Oct 8 2019 convert_to_chd.bat
Now this is what happens as soon as I copy something over to that location.
truenas# ls -la
total 1155
drwxrwxr-x 2 TRUENAS\stevo Residents 8 Oct 2 04:39 .
drwxrwxr-x 28 TRUENAS\stevo Residents 122 Sep 30 16:41 ..
-rwxrwxr-x 1 TRUENAS\stevo Residents 71 Dec 24 1996 'chdman - CUE or GDI to CHD.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to CUE.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Dec 24 1996 'chdman - Extract CHD to GDI.bat'
-rwxrwxr-x 1 TRUENAS\stevo Residents 2023424 Sep 24 2019 chdman.exe
-rwxrwxr-x 1 TRUENAS\stevo Residents 65 Oct 8 2019 convert_to_chd.bat
-rw-rw-rw- 1 TRUENAS\stevo builtin_users 5067 Aug 16 2020 gistfile1.txt
Not only is it not setting the permissions correctly, it is changing the group to builtin_users which I have not even configured or until today knew existed.
Any help would be greatly appreciated.
Edit: Forgot to clarify, I am adding this file from Windows logged in as user Stevo, with the same password as the truenas account and my user is also a member of the Residents group, so it should have Full Control permissions twice over.
Attachments
Last edited: