Make iCloud work for you!

Discover all the features (and limitations) of iCloud with
Take Control of iCloud, Sixth Edition by Joe Kissell.

Take Control of Permissions in Snow Leopard
Price
$10.00
Pages
91
Formats
PDF EPUB Mobi
Version
1.0
Published
Apr 28, 2010

Take Control of Permissions in Snow Leopard

Solve quirky problems, increase privacy, and share files better!

Permissions problems got you down? Turn to Unix expert Brian Tanaka’s unique guide to the permissions in Mac OS X 10.6 Snow Leopard that control access to your files, folders, and disks. You’ll learn how to keep files private, when to set Ignore Permissions, what happens when you repair permissions, how to delete stuck files, and the best ways to solve permissions-related problems. Advanced concepts include the sticky bit, Snow Leopard’s increasingly important access control lists (ACLs), bit masks, and symbolic versus absolute ways to set permissions. The book covers how to take control of permissions via the Finder, with the Mac utility FileXaminer, and using the Unix command line.

More Info

Read this book to learn the answers to questions like:

  • Why do so many problem-solving sites suggest that I repair permissions?
  • Why can’t I always access my own files when I boot from an external drive?
  • What should I do if someone tells me to “set the permissions to -rw-r–r–”?
  • What are promiscuous permissions, and should I inform the vice squad?
  • What’s new about access control lists (ACLs) in Snow Leopard?
  • What are the default permissions for copied files?
  • Without the NetInfo database, how do I edit account settings like numeric UID?
  • How do I work with account groups from System Preferences?
What's New

What's New in the Snow Leopard Edition

This book is a complete, Mac OS X 10.6 Snow Leopard-specific update to Take Control of Permissions in Leopard. Whereas that book covered all versions of Mac OS X up to and including 10.5 Leopard, this book focuses tightly on Snow Leopard.

Changes in this edition include:

  • Of the three third-party tools that I recommended in earlier editions of this book (FileXaminer, Super Get Info, and XRay), only FileXaminer remains available for Snow Leopard. See Set Permissions Using FileXaminer .
  • ACLs are on by default in Snow Leopard. Therefore, we no longer need to test whether or not ACLs are on. Furthermore, we previously used fsacltl to test ACL status, but fsacltl has been removed from Mac OS X. See Use Access Control Lists.
  • In Leopard, a umask in /etc/launchd.conf did not work, contrary to Apple’s documentation. In Snow Leopard, it does work, but the warning from the last edition to avoid using this technique still stands. See Understand Default Permissions.
  • In Snow Leopard, a umask in ~/.launchd.conf doesn’t work, contrary to Apple’s documentation. Unfortunately, that means there is no way in Snow Leopard to set default permissions on files and folders created by the Finder or Mac OS X applications on an account-by-account basis. Read Understand Default Permissions.
  • Many of the default permissions (and ACLs) that result from the copy operations described in “Permissions on Copied Items” have changed. I have updated the tables accordingly. For example, when copying a file to another user’s Drop Box, unlike in Mac OS X versions prior to Snow Leopard, the ACLs on the resulting file are such that the receiving user can edit the file, and more interestingly, after saving, the file ownership switches to the receiving user’s account. See Permissions on Copied Items.
FAQ

Q: Do you have an ebook that covers permissions in older versions of Mac OS X?

A: Yes, we do. See Take Control of Permissions in Mac OS X, which covers permissions in Mac OS X 10.4 Tiger and earlier, and Take Control of Permissions in Leopard, which adds Leopard-specific details.

Update Plans

January 2012 – Although we might reconsider at some later date, at this time, we have no plans to update this ebook.

Posted by Adam Engst

Blog
  1. Manage File, Folder, and Disk Permissions in Snow Leopard

    If you like to go under the hood of Mac OS X, or if you’ve been forced to by quirky problems, check out our latest ebook, freshly revised for Snow Leopard: Take Control of Permissions in Snow Leopard. Written by Unix guru and Mac aficionado Brian Tanaka (and edited by Geoff Duncan), the 91-page ebook mixes practical how-to details and troubleshooting tips with just the right amount of theory as it explains permissions in relation to how you keep your files private, copy files to and from servers effectively, set the Ignore Permissions option for external disks, repair default permissions, and delete those files that just won’t die.

    For those who want to learn advanced concepts, the $10 ebook delves into topics like the sticky bit, symbolic versus absolute ways to set permissions, and how to work with bit masks. Of course, Brian looks at what’s new with permissions in Mac OS X 10.6 Snow Leopard, including the increased use of access control lists, changes to the way umask works, and which permissions a copied file ends up with.

    Don’t worry if you’re not accustomed to using the Unix command line in Terminal, since Brian provides clear instructions for that, along with how to manage permissions from the Finder’s Get Info and Inspector windows, and with a third-party utility, FileXaminer. (And of course, if you do want to become more familiar with the command line, we strongly recommend Joe Kissell’s Take Control of the Mac Command Line with Terminal, which provides a friendly and thorough introduction.)

    Posted by Adam Engst (Permalink)

The Author

Brian Tanaka has worked for a variety of companies including the Well, SGI, Intuit, Nintendo, and RealNetworks. Today, his own company, Martingale-Oak LLC, provides Unix and open source technologies consulting. His articles have appeared in Linux Journal and Sysadmin Magazine.