Posted on

Errata in Version 2.0 of Take Control of the Mac Command Line with Terminal

A reader helpfully pointed out a few errors in version 2.0 of Take Control of the Mac Command Line with Terminal. I’ll be sure to fix these the next time the book is updated.

Chmod Absolute Mode

On pages 104–105, I discuss chmod’s absolute mode, which lets you add numbers to get values from 1 to 7 for various combinations of read, write, and execute permissions. Unfortunately, I swapped the numbers for read and execute, which therefore throws off part of the following paragraph as well.

The text should read as follows:

The basic values are these:

  • 4: read
  • 2: write
  • 1: execute

To combine permissions, you add these numbers. So, 6 means read and write; 5 means read and execute (but not write); 3 means write and execute; and 7 means read, write, and execute.

Minor UI Changes

As I was revising the book to reflect the wording, appearance, and operation of Yosemite, I missed a few small items:

  • Settings preference pane is now Profiles: In Terminal > Preferences, the toolbar button previously labeled Settings is now Profiles. (Appears on p. 28, Steps 1 and 2; p. 53, bottom paragraph; and p. 65, Step 1.)
  • Startup preference pane is now General: In Terminal > Preferences, the toolbar button previously labeled Startup is now General. (Appears on p. 31, Step 1.)
  • No more window resize control: In the last bullet on p. 29, I mention the window resize control, which no longer exists; now, you can simply drag any edge or corner of a window to resize it.

Compacting Disk Images

The recipe Compact a Disk Image (pp. 160—161) refers to sparse and sparse bundle disk images. These would have the extensions .sparseimage and .sparsebundle, respectively (not .dmg).