File permissions when using custom in tcbuild.yaml

How are permissions handled for files overlaid with a “custom” directive in tcbuild.yaml? I need to change/specify the permissions as the defaults (root ownership 660) are insufficient.

Thanks!

Figured it out - I had previously constructed my custom directory manually rather than with --isolate, so I did not have a .tcattr file.

Glad to see you were able to resolve your issue. Just to confirm you have the right idea. If you need to retain certain permissions/file attributes with your customization you either use the isolate command. Or you could still manually construct your custom directory but then you need to create your own .tcattr file that describes the file attributes and permissions.

Best Regards,
Jeremias