05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

324<br />

CHAPTER 18 INTRODUCING DARWIN AND THE SHELL<br />

0: user:nobody deny read,write,delete<br />

1: user:scott allow read,write,delete<br />

<strong>Leopard</strong>:macbeth scott$<br />

The types of actions you can control in ACLs depend on the type of file. The following<br />

actions are settable for any file:<br />

• delete<br />

• readattr<br />

• writeattr<br />

• readextattr<br />

• writeextattr<br />

• readsecurity<br />

• writesecurity<br />

• chown<br />

The following actions are settable for folders/directories:<br />

• list<br />

• search<br />

• add_subdirectory<br />

• delete_child<br />

Finally, the following are available for nonfolder/directory items:<br />

• read<br />

• write<br />

• append<br />

• execute<br />

More details about ACLs and controlling them are available in the chmod man page.<br />

Customizing Terminal and the Shell<br />

Once you start getting into using Darwin, you may want to make a few tweaks to both the Terminal<br />

application and your shell environment to streamline how you work. Before we leave this<br />

chapter, I feel I must cover these last few issues of customizing your Darwin experience.<br />

Terminal Setup<br />

The Terminal application that Apple ships with <strong>Mac</strong> <strong>OS</strong> X has gone through some pretty big<br />

changes for the <strong>Leopard</strong> release. These include the addition of features such as tabbed windows,<br />

which are very handy for those who work with multiple shells or must access many remote terminals<br />

at the same time. They also include the ability to save different window settings that<br />

control the appearance and behavior of your terminal.<br />

One of the first things you may want to do when working with Terminal is adjust how it<br />

looks and make a few other tweaks (such as remapping the Meta key if you are a big Emacs<br />

user). The options to control your terminal settings are listed under the Settings tab of Terminal’s<br />

preferences (Figure 18-3).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!