Top

Leopard 10.5.1 Update released…

November 18, 2007

Leopard BugApple have moved quickly to address a number of bugs in the initial release of Leopard. And while it fixes a number of issues, I have experienced at least 1 new issue after the update… Here’s the fix.

The update can be downloaded from Apple here or via the System Update. The list of issues resolved can be found here.

I had no problems at all installing the update on my Macbook. However, after using the system for a while, I did come across this weird bug with the Preview Application: If I double clicked on a PDF, Preview opened but displayed nothing. Also, these messages show up in the console log when Preview attempted to open a file:

Preview[155]: tempFileFolderPath failed
Preview[155]: *** -[NSPathStore2 rangeOfString:options:range:locale:]: nil argument

After surfing around to see if anyone else had the problem, I found the answer here. The permissions on the admin user’s temporary directory were incorrect:


$ ls -alR $TMPDIR
/var/folders/dB/dByJ-qkiE6igZD4Yrm+nMk+++TI/-Tmp-/:
total 0
drwxr-xr-x 3 root brett 102 2007-11-01 03:20 .
drwxr-xr-x 4 root brett 136 2007-11-01 03:20 ..
prw——- 1 brett brett 0 2007-11-01 02:27 com.apple.notify.125.30
$ touch $TMPDIR/foo
touch: cannot touch `/var/folders/dB/dByJ-qkiE6igZD4Yrm+nMk+++TI/-Tmp-//foo’: Permission denied

Running the following command fixes the problem:

$ sudo chmod 775 $TMPDIR
Password:

Apparently, this fix should be “permanent” (i.e. it will persist across logouts and shutdowns).

Comments

One Response to “Leopard 10.5.1 Update released…”

  1. Chris on March 14th, 2008 1:48 am

    Ditto.
    uuencode original.file attachmentName.file | mail a.user@hotmail.com

    mail: : Permission denied

    Same sudo chmod fix required.

Got something to say?





Bottom