As the entries in the example are directories, I assume that the attribute directories: should be used.
Also the title of the example
"Example to set permissions and ownership for a file and its parent directories"
mentions a file but the butane configuration does not contain a file.
The directory example uses the butane attribute
files:
instead ofdirectories:
https://github.com/coreos/fedora-coreos-docs/blob/792fc046f1b8eea0700b9d5b4394ece4f99bb963/modules/ROOT/pages/managing-files.adoc?plain=1#L93
As the entries in the example are directories, I assume that the attribute
directories:
should be used.Also the title of the example "Example to set permissions and ownership for a file and its parent directories" mentions a file but the butane configuration does not contain a file.