Sandboxed Preferences for Aperture
I was looking to trash my Mail.app preferences this morning and I know I’d looked before, and hadn’t found them. The file used to be
com.apple.mail.plist and located in
~/Library/Preferences/ however that file no longer exists (and if it does, it’s just a holdover from a previous OS). Finally today I found a discussion online that explained because Mail.app is a “sandboxed” app, that the preferences have moved to a new location. And what else did I find in this new location? An entire Aperture folder I did not previously know existed!
The sandboxed folder is located in
~/Library/Containers/com.apple.Aperture/ and within there is loads of stuff that frankly I don’t know what is all about yet. There’s a
container.plist file, then a
Data folder and within that, a series of aliases mimicking your home directory. On mine there’s a single JPG file just hanging out there (no idea what that’s all about) a
Documents folder (not alias) containing an alias to an
iChats folder — maybe because I dragged a photo from Aperture to iChat/Messages once?
More interestingly, if you look in the
Library folder you’ll find an
Application Support folder, and in there the
*.apcommands file that had gone missing for many in one of the post Aperture 3.3 upgrades. You’ll also find
*.plist files for various plug-ins to Aperture. Looking in the actual
Preferences folder here you’ll find tons of aliases to other preference files, more
*.plist files for other plugins, presets for all those plugins that we lost when this sandbox update didn’t handle the migration to sandboxed very well, and bafflingly, an alias to the
com.apple.Aperture.plist file, the original of which still lives in the
~/Library/Preferences/ where it used to.
Any software engineers out there who’d care to shed some light on why we see so many seemingly irrelevant aliases in here, and why the Aperture preference file itself is not in the sandbox folder?