'Handle all the work related to creating/managing the home directory.
:return: None'

def _home_directory(self):

    if (not create_home_dir()):
        print(('Failed    to    create    the    w3af    home    directory    "%s".' % HOME_DIR))
        sys.exit((-3))
    if (not verify_dir_has_perm(HOME_DIR, perm=(os.W_OK | os.R_OK), levels=1)):
        print(('Either    the    w3af    home    directory    "%s"    or    its    contents    are    not    writable    or    readable.    Please    set    the    correct    permissions    and    ownership.    This    usually    happens    when    running    w3af    as    root    using    "sudo".' % HOME_DIR))
        sys.exit((-3))
