Introduction to File Permissions

This section expands on the topic of file permissions, which were briefly mentioned when we discussed the output from the ls command. It's likely that you won't have an immediate use for modifying file permissions, and it's possible that you'll never need to deal with them at all. However, if you want to work with other users on the same system, or decide to start writing your own programs, understanding the permission system will be necessary.

NOTE

A subset of the Unix file permission system can be accessed from the Mac OS X Finder. These are controlled from the Get Info window's Permissions tab.

Read, Write, and Execute

Permissions are specified as a collection of three flags. These flags (also called bits

Get Mac OS® X Tiger™ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.