NFS4_HOME preset removes all group or other permissions

Description

If I select the NFS4_HOME preset in the ACL editor, the result will be that all files affected (so recursively set stuff) will have — as group permissions, while there certainly is a group attached to it. If however i select select the NFS4_OPEN preset and change the settings to do exactly the same as NFS4_HOME, the permissions are correctly applied. So something in the preset just deletes permissions apparently. Took me hours to find this out.

Session ID: eca0d080-df02-84dd-d467-6fa8c4100d58

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk January 24, 2025 at 5:00 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Andrew Walker January 23, 2025 at 10:14 PM

If you click on the preset entries it says explicitly denotes that the group and everyone entries will not inherit. So the preset does exactly what is shown on screen.

bkuipers@gmail.com January 23, 2025 at 10:02 PM

No, no other permissions were applied, I stripped all acl, then put new ones on there. Then applied recursively, which was my idea, because previous permissions were wrong (migrating datasets from another server). I wanted to re-set all permissions, so I stripped the ACL, then created new ones with NFS4_HOME, those did not set any group ones on all files, though it did set group perms on the main dataset. Then I switched to NFS4_OPEN and all the files did get group perms. Then switched back to NFS4_HOME, then all group permissions were gone again, so this is definitely somehting to look into.

Michelle Johnson January 23, 2025 at 9:44 PM

Thank you for your report, !

To help the developers resolve your issue, please attach a system debug file using the link below to the private file attachment area. Please link that ticket to this ticket.

Andrew Walker January 23, 2025 at 9:38 PM

Are different permissions applied than the ones you review in the ACL form? I’m perhaps missing something here, but what generally happens is you look over what ACL is loaded on the form and then choose whether to apply it. If you apply permissions recursively, they will make recursive changes.

Behaves as Intended

Details

Assignee

Reporter

Labels

Fix versions

Priority

More fields

Katalon Platform

Created January 23, 2025 at 9:24 PM
Updated January 24, 2025 at 5:00 PM
Resolved January 24, 2025 at 5:00 PM