/usr/local not writable after deleting and recreating

Originator:mail
Number:rdar://22736899 Date Originated:17-Sep-2015
Status:Duplicate of 22321030 (Open) Resolved:
Product:OS X Product Version:10.11/15A282b
Classification:Serious Bug Reproducible:
 
Summary:
The folder /usr/local is not writable after deleting
The folder could be deleted with sudo, but not recreated with sudo.
If you disable SIP and create the folder and enable SIP again, the contents of the folder can not b modified and no new files could be created.

Steps to Reproduce:
1. Upgrade to 10.11
2. Delete /usr/local with sudo rights
3. Disable SIP
4. Create /usr/local
4. Enable SIP

Expected Results:
/usr/local is writable

Actual Results:
/usr/local is not writable

Version:
10.11/15A282b

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!