SolarisHomeDirIssue

Problems while creating a "home" directory under Solaris

Overview

You will sometime see the following message while trying to create a /home directory under Solaris :

mkdir /home/foobar
ERROR: Unable to create the home directory: Operation not applicable.

This problem is usually encountered on systems running the Solaris automounter.

Resolution

The fastest and easiest solution is to comment out /home in the file /etc/auto_master as follows:

+auto_master
/net            -hosts          -nosuid,nobrowse
# /home         auto_home       -nobrowse

Once /home is commented, you should be able to repeat the mkdir comment and create user directories without any problems.

See Also: