TextEdit sandboxing prevents adding / removing favorite styles

Number:rdar://10385163 Date Originated:02-Nov-2011 08:26 PM
Status:Open Resolved:
Product:OS X Product Version:10.7.2
Classification:Serious Bug Reproducible:Always
02-Nov-2011 08:26 PM Martin Kopischke:
Summary: Sandbox entitlements of TextEdit do not include write access to ~/Library/Preferences/.GlobalPreferences.plist, where “favorite styles” are meant to be stored in the NSFavoriteStyles key.

Steps to Reproduce: Open TextEdit. Create a new style, add it to favorite styles. Close TextEdit, open it again.

Expected Results: The favorite style should be available in the toolbar dropdown and style selector dialog.

Actual Results: The style has disappeared form favorite styles.


Notes: Styles stored before the upgrade to Lion are not deletable through TextEdit’s dialog for the same reason. sandboxd logs “02.11.11 14:44:54,659 sandboxd: ([73342]) TextEdit(73342) deny file-write-create /Users/martin/Library/Preferences/.GlobalPreferences.plist.c2n4nCb”


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!