Mac OS X Server: How to Restrict Non-Owner Access to Home Directories

Mac OS X allows users read-execute (no write) access to the first level of others' Home directories, which is a change from earlier AppleShare default behavior, in which a user had no access to another user's directory by default. This document describes how to change this behavior, if desired.
In Mac OS X and Mac OS X Server, the default behavior is that any user can look into another user's Home directory. As shown in Figure 1, the Home folders are not locked.




Figure 1 Accessible Home folders

However, the only folders that any non-owner user can look inside are the Public and Sites folders. This feature allows users to immediately begin sharing without any additional setup, while still protecting information in other folders (such as Documents). In the earlier AppleShare behavior to which you may be accustomed, the default was that users did not have any privileges to another's directory. As shown in Figure 2, the folders would appear locked, with the belt-badged icon.




Figure 2 Access denied to Home folders

In some environments, the earlier behavior may be desired. Follow these steps to change the privileges of the Users directory:

All Home directories should now resemble those in Figure 2, and only the owners have complete access.
Published Date: Feb 17, 2012