I have set up a test Nas Server running True Nas Scale 25.10.
I have set up test datasets, connection to AD and shares.
Now I am testing how to set proper ACLs for specific use cases and am now running into an issue.
I have set up the share ACLs so that users of TestGroup can access the share and have full control, but this right is not to be inherited. I have also set up things so that the owner has full control and this right is inheritable. Idea being someone can access the share, make their own folder and add their files to it while other TestGroup members can’t access their things. There is also an Administration group that can see all the files because they have Full Control on all folders subfolders and files in the share.
But now I am having an issue with creating the folder and more importantly the user granting themselves full rights on that folder. Without that step if an Admin user makes a folder within TestUser’s folder TestUser will not have access by default.
But let’s illustrate it with an example. I will be running powershell commands to show what is the issue.
Both users (TestUser and Admin) shown here are Active Domain users, which can be determined from their names.
These are ran under TestUser:
PS \\fileserver3\TestShare> mkdir TestFolder
Directory: \\fileserver3\TestShare
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 30.6.2026. 09:03 TestFolder
PS \\fileserver3\TestShare> icacls TestFolder
TestFolder AD1\TestUser:(I)(F)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
S-1-5-21-3358352355-3030398631-1753033928-200091:(I)(OI)(CI)(M,DC)
S-1-5-21-3358352355-3030398631-1753033928-512:(I)(OI)(CI)(F)
AD1\Domain Admins:(I)(OI)(CI)(F)
AD1\Admin-Group:(I)(OI)(CI)(F)
Successfully processed 1 files; Failed processing 0 files
PS \\fileserver3\TestShare> (Get-Acl .\TestFolder).Owner
AD1\TestUser
PS \\fileserver3\TestShare> icacls TestFolder /grant "AD1\TestUser:(OI)(CI)F"
TestFolder: Access is denied.
Successfully processed 0 files; Failed processing 1 files
As you can see, Test User has made a folder TestFolder. They are both the owner and have FullControl rights on the aforementioned folder. Yet, granting themselves full rights that would propagate to all items in it is denied.
To make things MORE strange baffling, if I switch to Admin user, that is member of Domain Admins and Admin-Group and give ANY right to TestUser. Even a simple READ right…
S \\fileserver3\TestShare> icacls TestFolder /grant "AD1\TestUser:R"
processed file: TestFolder
Successfully processed 1 files; Failed processing 0 files
PS \\fileserver3\TestShare> icacls TestFolder
TestFolder AD1\TestUser:(R)
AD1\TestUser:(I)(F)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
S-1-5-21-3358352355-3030398631-1753033928-200091:(I)(OI)(CI)(M,DC)
S-1-5-21-3358352355-3030398631-1753033928-512:(I)(OI)(CI)(F)
AD1\Domain Admins:(I)(OI)(CI)(F)
AD1\Admin-Group:(I)(OI)(CI)(F)
results in TestUser now being able to run the command that previously did not work.
PS \\fileserver3\TestShare> icacls TestFolder /grant "AD1\TestUser:(OI)(CI)F"
processed file: TestFolder
Successfully processed 1 files; Failed processing 0 files
PS \\fileserver3\TestShare> icacls TestFolder
TestFolder AD1\TestUser:(R)
AD1\TestUser:(OI)(CI)(F)
AD1\TestUser:(I)(F)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
S-1-5-21-3358352355-3030398631-1753033928-200091:(I)(OI)(CI)(M,DC)
S-1-5-21-3358352355-3030398631-1753033928-512:(I)(OI)(CI)(F)
AD1\Domain Admins:(I)(OI)(CI)(F)
AD1\Admin-Group:(I)(OI)(CI)(F)
Successfully processed 1 files; Failed processing 0 files
Being granted Read rights, which user should already have given they have FullControl, should not lead to suddenly allowing a user to set ACLs as far as I understand… sooo why the heck is this happening?
Why is access being denied unless an Admin user adds ANY right for the user on a folder?!?
This MIGHT be a Windows thing, but it still feels like there is some sort of issue in how these ACLs are implemented on whatever TrueNAS system works with them, so I’m posting this here, and not on a Windows general specific board.