1 ZFS can be used to create a read-only mount for specific directories by setting the exec off property and using property inheritance to restrict access.
“I'm creating a user local and I'm setting the property exec off. So that's a mount option. So any files in that data set will not be able to be executed. Uh obviously that's not going to work so well for user local bin and use local sbin.”