Cannot rebuild Sierra EFI cache due to SIP

Originator:eriknicolasgomez
Number:rdar://28462923 Date Originated:09/24/2016
Status:Open Resolved:
Product:macOS Product Version:10.12.0-16A323
Classification:Serious Bug Reproducible:Always
 
sudo touch /System/Library/PrivateFrameworks/EFILogin.framework/Resources/EFIResourceBuilder.bundle/Contents/Resources

This unfortunately fails with an "Operating is not permitted" error on Sierra, due to SIP. Please create a SIP enhancement to allow this file to be created.

Find more information about my use case here: https://onemoreadmin.wordpress.com/2016/09/24/apples-efi-logonui-managing-macos-sierras-wallpaper

Steps to Reproduce:
1. touch /System/Library/PrivateFrameworks/EFILogin.framework/Resources/EFIResourceBuilder.bundle/Contents/Resources
2. Operation not permitted.
3. Disable SIP
4. Touch file
5. Operation permitted

Expected Results:
The file should be touched, allowing the EFI to rebuild.

Actual Results:
EFI fails to rebuild, due to SIP.

Version:
10.12.0 16A323

Notes:


Configuration:
Occurs when SIP is enabled.

Does not occur when SIP is disabled

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!