Home
Mac OSX Lion on Preview/Textedit Crashes

I recently upgraded my 13″ Macbook Pro to an SSD from Other World Computing. It is smoking fast and really worth the expense and time to do it. However, this Macbook originally had a HDD with OSX 10.7 Lion installed on it, and I cloned the original disk using Carbon Copy Cloner and then migrated my user accounts and apps using Migration Assistant.

And all of a sudden, the built-in apps Textedit and Preview began to crash whenever they were opened.

I did what I normally do and googled the problem using keywords like “Mac OSX“, “Lion”, “Textedit”, “Preview”, and most importantly, “crash”!

It appears that this problem is pretty common, especially with users who migrate from HDDs to SSDs. I found a number of solutions that I tried, and none of them seemed to work.

It seems the gist of the problem, and the one that I was able to ascertain from the crash report, is that the issue is a permissions problem that comes from some system level bugs in Apple’s implementation of their new ‘sandboxing’ protocol that is intended to enhance the security of the system.

Well, I finally fixed it, and here is how I had to do it:

First, you need to be able to “see” the username/Library folder. In Lion, Apple has decided that the average user doesn’t ever need to stare into some of the guts of the operating system.

So open up the application “Terminal” from the “Utilities” folder, and type the following command:

chflags nohidden ~/Library/

Now double click on your SSD icon, and find your username on the left side navigation bar. Navigate to your user folder, and then double click on the “Library” folder, which now should be visible.

Look for a folder named “Containers”. If you see a red ball with a “-” sign in it, then that is most likely your problem. Textedit needs to open this folder, only you don’t have permission to use it. If you have the same issue, you will see a folder with an icon like this:

Locked folder

Right click on the folder and select “Get Info”. Click the little gold-colored lock icon and type in your password when it prompts you.

The unlock icon looks like this:

Get info dialog box - Mac OSX

Now click the “+” symbol on the lower left of the info pane and then add your username from the Users and Groups window that pops up. Give yourself “Read and Write” permission and close the window. Double click on the Containers icon and open it.

You will now be presented with two folders. One is named “com.apple.Preview” and the other is “com.apple.TextEdit”. Go through the same routine here and right-click and select “get info” for each folder, unlock it, and add yourself as an authorized user with read-and-write permission. Then double click on the newly freed folder and you will be presented with a “Data” folder for each application. Same routine: Get info, unlock and add yourself with read and write permission. Now you are done.

Close the window and try running TextEdit and Preview again. If your problem was the same as mine, they should run just fine.

{ 0 comments }

Photo Website Design

February 17, 2012

The future ain’t what it used to be The idea If you have had the patience to labor through all the material on this part of my website covering the subject of photo website creation, you will notice that the driving force behind all my modifications over the years have had to do with ease-of-maintenance […]

Read the full article →

Nikon Capture NX2 update – well, update

January 30, 2012

Nikon Capture NX2 update – well, update Just a quick note for the blog : After seeing a post on Thom Hogan’s site about the this particular update, I dropped him an email about the difficulties I was having. He knows some people at Nikon Service, and he was able to get the product manager […]

Read the full article →

Nikon Capture NX2 update hell

December 27, 2011

My Nikon Capture NX2 update fiasco I recently had a very frustrating experience when I made the mistake of upgrading from version 2.2.7 of Nikon’s Capture NX2 to version 2.3. The problem was a perfect storm caused by the collision of my poor record-keeping with Nikon’s byzantine update process. After reading several online forum announcements […]

Read the full article →

Fuji X100

November 17, 2011

I recently got back my X100 from the repair shop (it died right after I got it) and did some ISO 3200 nighttime shooting with it. It is a very impressive camera for its size. The images are mostly at f/2, yet they are sharp and the noise is certainly in the tolerable range. Sample […]

Read the full article →

106 prints

May 6, 2011

106 prints doesn’t sound too bad… Until you find that you need to print them all with your etching press in about four days. My good friend Bill Schwab is a both a great photographer and a very hard working, do-everything businessman. For several years, he has been mulling the idea of publishing a very-small-run […]

Read the full article →

QTR for diginegs and 16-bit photoshop files

March 22, 2011

Quadtone RIP is a replacement print driver for most Epson printers that allows very fine control over the individual inks on the Epson printers. In the bad old days of 1&2 black-ink printers, it really represented the only way to consistently get metamerism-free monochrome prints with the Epson printers. Many of us in the alt-process […]

Read the full article →

Been driving me crazy for a while

February 5, 2011

The right answer is always easy I have been trying to figure out for some time how to get a nice resizable gradient background behind my page content. I would always end up with this goofy looking white area below the content when the page was long enough to need a scroll bar. Anyway – […]

Read the full article →