New user template on current macOS versions

We'd like to use a custom setup for our new students via a modified User Template folder.

On macOS 14 the new user template is located at

/Library/User Template/Non_localized

I can add e.g. another folder here (as "root"):

drwxr-xr-x   2 root  wheel    64  8 Apr 13:58 newFolder

And when a new user is created this folder is added to users homedir, as expected. But this folder has an additional unexpected ACL:

$ ls -lde newFolder 
drwx------+ 2 newuser  staff  64  8 Apr 13:59 newFolder
 0: group:everyone deny delete

Is there any documentation about the user template handling for current macOS versions?

We are specially interested in

  • How are ACLs added
  • Predefining standard preferences (e.g. connected servers are visible on desktop)

Ayn clue here?

New user template on current macOS versions
 
 
Q